From f97202869c9f244b87ffa7f30d1f09b64b1d11aa Mon Sep 17 00:00:00 2001 From: Jan Koppe Date: Mon, 20 Apr 2020 18:56:12 +0200 Subject: [PATCH] fix celery settings --- portier/celery.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/portier/celery.py b/portier/celery.py index 369e42e..b74d910 100644 --- a/portier/celery.py +++ b/portier/celery.py @@ -3,7 +3,7 @@ from __future__ import absolute_import, unicode_literals import os from celery import Celery -os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'proj.settings') -app = Celery('proj') +os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'portier.settings') +app = Celery('portier') app.config_from_object('django.conf:settings', namespace='CELERY') app.autodiscover_tasks()