Commit
50b085db8922c65bcc9af02e136350343e1e8eec
Exists in
master
and in
31 other branches
1.12.x, add_requests_as_dep, celery_service, change-passwd-signal, colab-signals, colab-vcard, colab_search, colab_tag, colab_tag_merge, community_association, detach_super_archives, fix-dashboard, fix-message-preview, fix_app_label, fix_header, fixed_gitlab_import, go_to_profile_panel, mobile_user_scalable, paginate-threads, profile_integration, refactor-data-import, remove-gitlab-plugin, removing_namespace, search_block, search_filters, split_screen, startplugin, timestamp_plugins, translation_review, user_regex, validate-passwd
Fixing for tests
| @@ -1,5 +0,0 @@ |
| @@ -1,5 +0,0 @@ |
1
| -from __future__ import absolute_import |
| |
2
| - |
| |
3
| -# This will make sure the app is always imported when |
| |
4
| -# Django starts so that shared_task will use this app. |
| |
5
| -from .celery import app as celery_app # noqa |
| |
| @@ -0,0 +1,3 @@ |
| @@ -0,0 +1,3 @@ |
| |
1
| + |
| |
2
| + |
| |
3
| +default_app_config = 'colab.home.apps.HomeConfig' |
| @@ -0,0 +1,8 @@ |
| @@ -0,0 +1,8 @@ |
| |
1
| + |
| |
2
| +from django.apps import AppConfig |
| |
3
| + |
| |
4
| +class HomeConfig(AppConfig): |
| |
5
| + name = 'colab.home' |
| |
6
| + |
| |
7
| + def ready(self): |
| |
8
| + from ..celery import app |