fix lint errors

This commit is contained in:
Jan Koppe 2020-04-23 20:21:56 +02:00
parent 4e9fd4abed
commit 70713fe02c
Signed by: thunfisch
GPG Key ID: BE935B0735A2129B
1 changed files with 4 additions and 2 deletions

View File

@ -127,8 +127,10 @@ STATIC_ROOT = os.path.join(BASE_DIR, 'staticfiles')
# Celery
CELERY_BROKER_URL = "redis://{}:{}".format(os.environ.get('REDIS_HOST', default='redis'), os.environ.get('REDIS_PORT', default=6379))
CELERY_RESULT_BACKEND = "redis://{}:{}".format(os.environ.get('REDIS_HOST', default='redis'), os.environ.get('REDIS_PORT', default=6379))
CELERY_BROKER_URL = "redis://{}:{}".format(os.environ.get('REDIS_HOST', default='redis'),
os.environ.get('REDIS_PORT', default=6379))
CELERY_RESULT_BACKEND = "redis://{}:{}".format(os.environ.get('REDIS_HOST', default='redis'),
os.environ.get('REDIS_PORT', default=6379))
CELERY_ACCEPT_CONTENT = ['application/json']
CELERY_RESULT_SERIALIZER = 'json'
CELERY_TASK_SERIALIZER = 'json'