<div dir="ltr">Hello,<div><br></div><div>It seems Django 1.6 switched from Pickle to Json for session serialization.</div><div><a href="https://docs.djangoproject.com/en/1.6/topics/http/sessions/#session-serialization">https://docs.djangoproject.com/en/1.6/topics/http/sessions/#session-serialization</a><br>
</div><div><br></div><div>For anyone getting the error about Token not being serializable, just add the following in settings.py:</div><div>SESSION_SERIALIZER = 'django.contrib.sessions.serializers.PickleSerializer'<br>
</div><div>until this is "fixed".</div><div><br></div><div>Out of curiosity, should everything be switched to Json (make Token serializable), or Pickle will be used in the foreseeable future ?</div><div><div><br>
</div>-- <br>Regards,<div>Cristian Tomoiaga</div>
</div></div>