0

I am using python social auth for django social authentication. I have written a custom pipeline for sending email. Everything works fine just at the section of sending email it gives me UserSocialAuth is not json serializable error.

Can anyone guide me why I am getting this error ? How to get rid of it ?

gamer
  • 5,673
  • 13
  • 58
  • 91

1 Answers1

0

you should use:

SESSION_SERIALIZER = 'django.contrib.sessions.serializers.PickleSerializer'

in settings.py

mexekanez
  • 266
  • 3
  • 7