diff --git a/portail_citoyen/settings.py b/portail_citoyen/settings.py index 4ae6de0..307c5eb 100644 --- a/portail_citoyen/settings.py +++ b/portail_citoyen/settings.py @@ -420,6 +420,11 @@ CMS_TEXT_WRAPPERS = ( CMS_TEXT_WRAPPER_CLASSES = () ANNOUNCES_FEED_HOMEPAGE_LIMIT = int(os.environ.get('ANNOUNCES_FEED_HOMEPAGE_LIMIT', 3)) +# Remove after Django 1.7 +SERIALIZATION_MODULES = { + 'json': 'authentic2.serializers', +} + # Do we use memcached ? if 'USE_MEMCACHED' in os.environ: CACHES = {