add celery stuff
This commit is contained in:
@@ -138,6 +138,15 @@ LOGOUT_URL = 'logout'
|
||||
LOGIN_REDIRECT_URL = 'carom_index'
|
||||
LOGOUT_REDIRECT_URL = 'carom_index'
|
||||
|
||||
# CELERY STUFF
|
||||
BROKER_URL = 'redis://localhost:6379'
|
||||
CELERY_RESULT_BACKEND = 'redis://localhost:6379'
|
||||
CELERY_ACCEPT_CONTENT = ['application/json']
|
||||
CELERY_TASK_SERIALIZER = 'json'
|
||||
CELERY_RESULT_SERIALIZER = 'json'
|
||||
CELERY_TIMEZONE = 'Europe/Berlin'
|
||||
|
||||
|
||||
STATIC_ROOT = "/srv/carom/carom-server/static/"
|
||||
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user