Commit 50b085db8922c65bcc9af02e136350343e1e8eec

Authored by Sergio Oliveira
1 parent 18990d74

Fixing for tests

colab/__init__.py
... ... @@ -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
colab/home/__init__.py
... ... @@ -0,0 +1,3 @@
  1 +
  2 +
  3 +default_app_config = 'colab.home.apps.HomeConfig'
... ...
colab/home/apps.py 0 → 100644
... ... @@ -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
... ...