Django >= 1.6 Error <Model: Object> is not JSON serializable
Use this line in settings.py:
SESSION_SERIALIZER = 'django.contrib.sessions.serializers.PickleSerializer'
Written by Diego González
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Python
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#