define celery timezone, restrict celery content to json
This commit is contained in:
parent
42b1b07cc4
commit
f2b8af39a0
1 changed files with 3 additions and 1 deletions
|
@ -282,7 +282,9 @@ CELERY_ROUTES = (
|
|||
'gvacommon.celeryrouters.LdapRouter',
|
||||
'gvacommon.celeryrouters.FileRouter',
|
||||
)
|
||||
CELERY_ACCEPT_CONTENT = ['pickle', 'yaml', 'json']
|
||||
CELERY_TIMEZONE = 'Europe/Berlin'
|
||||
CELERY_ENABLE_UTC = True
|
||||
CELERY_ACCEPT_CONTENT = ['json']
|
||||
CELERY_TASK_SERIALIZER = 'json'
|
||||
CELERY_RESULT_SERIALIZER = 'json'
|
||||
########## END CELERY CONFIGURATION
|
||||
|
|
Loading…
Reference in a new issue