use YAML for celery serialization

- add CELERY_ACCEPT_CONTENT, CELERY_TASK_SERIALIZER and
  CELERY_RESULT_SERIALIZER in gnuviechadmin.settings.base
- add pyaml to requirements/base.txt
This commit is contained in:
Jan Dittberner 2014-05-30 18:36:26 +02:00
parent 6a40a5eded
commit 0c5706d886
2 changed files with 4 additions and 0 deletions

View file

@ -287,6 +287,9 @@ CELERY_TASK_RESULT_EXPIRES = None
CELERY_ROUTES = (
'osusers.tasks.LdapRouter',
)
CELERY_ACCEPT_CONTENT = ['yaml']
CELERY_TASK_SERIALIZER = 'yaml'
CELERY_RESULT_SERIALIZER = 'yaml'
########## END CELERY CONFIGURATION

View file

@ -10,3 +10,4 @@ celery==3.1.11
billiard==3.3.0.17
kombu==3.0.16
pytz==2014.3
pyaml==14.05.7