[openstack-dev] [horizon] django-openstack-auth with Django 1.6

Cristian Tomoiaga ctomoiaga at gmail.com
Thu Oct 17 18:05:41 UTC 2013


Hello,

It seems Django 1.6 switched from Pickle to Json for session serialization.
https://docs.djangoproject.com/en/1.6/topics/http/sessions/#session-serialization

For anyone getting the error about Token not being serializable, just add
the following in settings.py:
SESSION_SERIALIZER = 'django.contrib.sessions.serializers.PickleSerializer'
until this is "fixed".

Out of curiosity, should everything be switched to Json (make Token
serializable), or Pickle will be used in the foreseeable future ?

-- 
Regards,
Cristian Tomoiaga
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20131017/33e747b1/attachment.html>


More information about the OpenStack-dev mailing list