Skip to content

Commit

Permalink
Minor changes to the django/proj/celery.py example
Browse files Browse the repository at this point in the history
See celery#6738 for an explanation why it’s better to say “registered apps”.
  • Loading branch information
aruseni authored and auvipy committed Apr 25, 2021
1 parent 5a908b2 commit 27c9b77
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/django/proj/celery.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

from celery import Celery

# set the default Django settings module for the 'celery' program.
# Set the default Django settings module for the 'celery' program.
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'proj.settings')

app = Celery('proj')
Expand All @@ -13,7 +13,7 @@
# should have a `CELERY_` prefix.
app.config_from_object('django.conf:settings', namespace='CELERY')

# Load task modules from all registered Django app configs.
# Load task modules from all registered Django apps.
app.autodiscover_tasks()


Expand Down

0 comments on commit 27c9b77

Please sign in to comment.