Add serializer handling natural keys (refs #5510)

This commit is contained in:
Benjamin Dauvergne 2014-09-29 15:03:09 +02:00 committed by Serghei MIHAI
parent de0f62174a
commit f5a0d9e76c
1 changed files with 5 additions and 0 deletions

View File

@ -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 = {