Skip to content

Commit 003d94e

Browse files
committed
Temporary until 3.1.4 (Issue celery#1647)
1 parent 23d2fbc commit 003d94e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/django/first-steps-with-django.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ so that the ``@shared_task`` decorator (mentioned later) will use it:
6262
6363
from __future__ import absolute_import
6464
65-
from .celery import app as celery_app
65+
from .celery import app
6666
6767
Note that this example project layout is suitable for larger projects,
6868
for simple projects you may use a single contained module that defines

examples/django/proj/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22

33
# This will make sure the app is always imported when
44
# Django starts so that shared_task will use this app.
5-
from .celery import app as celery_app
5+
from .celery import app

0 commit comments

Comments
 (0)