diff --git a/allianceauth/project_template/project_name/celery.py b/allianceauth/project_template/project_name/celery.py index 26dcc78c..dc9b4d39 100644 --- a/allianceauth/project_template/project_name/celery.py +++ b/allianceauth/project_template/project_name/celery.py @@ -10,7 +10,7 @@ app = Celery('{{ project_name }}') # Using a string here means the worker don't have to serialize # the configuration object to child processes. -app.config_from_object('django.conf:settings', namespace='CELERY') +app.config_from_object('django.conf:settings') # Load task modules from all registered Django app configs. app.autodiscover_tasks(lambda: settings.INSTALLED_APPS) diff --git a/allianceauth/project_template/project_name/settings/base.py b/allianceauth/project_template/project_name/settings/base.py index 8cf40457..630121d8 100644 --- a/allianceauth/project_template/project_name/settings/base.py +++ b/allianceauth/project_template/project_name/settings/base.py @@ -39,7 +39,7 @@ INSTALLED_APPS = [ ] # Celery configuration -CELERY_BROKER_URL = 'redis://localhost:6379/0' +BROKER_URL = 'redis://localhost:6379/0' CELERYBEAT_SCHEDULER = "django_celery_beat.schedulers.DatabaseScheduler" CELERYBEAT_SCHEDULE = { 'esi_cleanup_callbackredirect': {