aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNatalia <natalia.bidart@ubuntu.com>2015-04-23 17:43:33 -0300
committerNatalia <natalia.bidart@ubuntu.com>2015-04-23 17:43:33 -0300
commit262856fe822c7791c59b97cc02bf47316e45a7a7 (patch)
tree5bcf846a827687513c53dc92ba916f28803a5fa0
parenta32cd791d8b1ed970b4bbf2734fda75f1ae629a3 (diff)
Add comment about the need of having the pickle session serializer.
-rw-r--r--example_consumer/settings.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/example_consumer/settings.py b/example_consumer/settings.py
index ddc1fc1..f9cb12d 100644
--- a/example_consumer/settings.py
+++ b/example_consumer/settings.py
@@ -107,6 +107,9 @@ USE_TZ = True
STATIC_URL = '/static/'
+# the library python-openid does not support a json session serializer
+# <openid.yadis.manager.YadisServiceManager> is not JSON serializable
+# https://github.com/openid/python-openid/issues/17
SESSION_SERIALIZER = 'django.contrib.sessions.serializers.PickleSerializer'
AUTHENTICATION_BACKENDS = (