This commit is contained in:
Ask Solem 2013-11-14 11:48:37 +00:00
Родитель 23d2fbc6d8
Коммит 003d94e337
2 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -62,7 +62,7 @@ so that the ``@shared_task`` decorator (mentioned later) will use it:
from __future__ import absolute_import
from .celery import app as celery_app
from .celery import app
Note that this example project layout is suitable for larger projects,
for simple projects you may use a single contained module that defines

Просмотреть файл

@ -2,4 +2,4 @@ from __future__ import absolute_import
# This will make sure the app is always imported when
# Django starts so that shared_task will use this app.
from .celery import app as celery_app
from .celery import app