aboutsummaryrefslogtreecommitdiffstats
path: root/src/laas_dashboard/celery.py
diff options
context:
space:
mode:
authorSawyer Bergeron <sbergeron@iol.unh.edu>2021-11-04 17:44:02 -0400
committerSawyer Bergeron <sbergeron@iol.unh.edu>2021-11-04 17:47:39 -0400
commit2441da427ca66124b762da98adf5a6f966d40a67 (patch)
tree380d7714211c75455cdf76e0c3e62b27a439a98f /src/laas_dashboard/celery.py
parentbf4678f4b166bd1e54ccfe947d4508151f6466ec (diff)
Work around celery relpath bug for schedule file
Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu> Change-Id: I9c512479f559b9b6f18f8428a914acdbad129dfd Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu>
Diffstat (limited to 'src/laas_dashboard/celery.py')
-rw-r--r--src/laas_dashboard/celery.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/laas_dashboard/celery.py b/src/laas_dashboard/celery.py
index 65b9211..362bbdb 100644
--- a/src/laas_dashboard/celery.py
+++ b/src/laas_dashboard/celery.py
@@ -23,6 +23,7 @@ app = Celery('laas_dashboard')
# pickle the object when using Windows.
app.config_from_object('django.conf:settings')
app.autodiscover_tasks(lambda: settings.INSTALLED_APPS)
+app.config_from_object('django.conf:settings', namespace='CELERY')
@app.task(bind=True)