force pickle session serializer (workaround for django 1.6+)

This commit is contained in:
Bernhard K. Weisshuhn 2014-02-06 12:26:57 +01:00
parent 7de5947d37
commit 469cd43d85
1 changed files with 4 additions and 0 deletions

View File

@ -167,3 +167,7 @@ LOGGING = {
},
}
}
# Force use of the pickle serializer as a workaound for django-1.6. See:
# https://docs.djangoproject.com/en/dev/releases/1.6/#default-session-serialization-switched-to-json
SESSION_SERIALIZER='django.contrib.sessions.serializers.PickleSerializer'