We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 23d2fbc commit 003d94eCopy full SHA for 003d94e
docs/django/first-steps-with-django.rst
@@ -62,7 +62,7 @@ so that the ``@shared_task`` decorator (mentioned later) will use it:
62
63
from __future__ import absolute_import
64
65
- from .celery import app as celery_app
+ from .celery import app
66
67
Note that this example project layout is suitable for larger projects,
68
for simple projects you may use a single contained module that defines
examples/django/proj/__init__.py
@@ -2,4 +2,4 @@
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
+from .celery import app
0 commit comments