Fix: correct user_options assignment in Celery app
This commit is contained in:
+1
-1
@@ -8,6 +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 = {}
|
user_options = {}
|
||||||
|
|
||||||
app.autodiscover_tasks()
|
app.autodiscover_tasks()
|
||||||
Reference in New Issue
Block a user