define celery timezone, restrict celery content to json
This commit is contained in:
parent
9d370cea60
commit
33b28c5598
1 changed files with 3 additions and 1 deletions
|
@ -286,7 +286,9 @@ CELERY_ROUTES = (
|
||||||
'gvacommon.celeryrouters.LdapRouter',
|
'gvacommon.celeryrouters.LdapRouter',
|
||||||
'gvacommon.celeryrouters.FileRouter',
|
'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_TASK_SERIALIZER = 'json'
|
||||||
CELERY_RESULT_SERIALIZER = 'json'
|
CELERY_RESULT_SERIALIZER = 'json'
|
||||||
########## END CELERY CONFIGURATION
|
########## END CELERY CONFIGURATION
|
||||||
|
|
Loading…
Reference in a new issue