Fix: add user_options attribute to Celery app
This commit is contained in:
@@ -8,4 +8,6 @@ django.setup()
|
|||||||
app = Celery('proyecto')
|
app = Celery('proyecto')
|
||||||
app.config_from_object('django.conf:settings', namespace="CELERY")
|
app.config_from_object('django.conf:settings', namespace="CELERY")
|
||||||
|
|
||||||
|
app.user_options = {}
|
||||||
|
|
||||||
app.autodiscover_tasks()
|
app.autodiscover_tasks()
|
||||||
Reference in New Issue
Block a user