Monday, April 14, 2014

Re: error in using socialregistration

I'v fixed the problem by adding

SESSION_SERIALIZER='django.contrib.sessions.serializers.PickleSerializer'
to setting.py


On Monday, April 14, 2014 8:41:10 PM UTC+4:30, rafiee.nima wrote:
Hi
Im using django socialregistration i configure everything step by step using  socialregistration doc. i also add sit_id .but i got this error :


Exception Type: TypeError at /social/linkedin/redirect/
Exception Value: <socialregistration.contrib.linkedin.client.LinkedIn object at 0xb49c97ec> is not JSON serializable

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/f6d30ada-04e6-4a9b-9ea1-8179b735ce43%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment