Added default celery.py code
This commit is contained in:
parent
d6d0b9c8c0
commit
477c8e81a4
1 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,7 @@ app = Celery('dynamicweb')
|
|||
app.config_from_object('django.conf:settings', namespace='CELERY')
|
||||
|
||||
# Load task modules from all registered Django app configs.
|
||||
app.autodiscover_tasks(lambda: settings.INSTALLED_APPS)
|
||||
app.autodiscover_tasks()
|
||||
|
||||
|
||||
@app.task(bind=True)
|
||||
|
|
Loading…
Reference in a new issue