Commit aec373ba authored by Joren Vrancken's avatar Joren Vrancken
Browse files

Get CELERY_BROKER_URL from env vars as a whole

parent 8d87aca3
......@@ -127,9 +127,7 @@ if os.environ.get('DJANGO_EMAIL_HOST'):
EMAIL_TIMEOUT = 10
# Celery settings
CELERY_BROKER_URL = 'redis://{}:6379/0'.format(
os.environ.get('CELERY_REDIS_HOST')
)
CELERY_BROKER_URL = os.environ.get('CELERY_BROKER_URL')
CELERY_ENABLED = True
# Secure headers
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment