Django Model Not Saving When Calling Save()
so i am trying to save a django model, and for some reason i am only getting a 500 internal server error. the thing is, if i comment the social_auth.save() it works and i can man
Solution 1:
if bundle.obj is of type User
, then social_auth.user_id = bundle.obj
is wrong and should be social_auth.user = bundle.obj
also ensure you are not in this case:
Post a Comment for "Django Model Not Saving When Calling Save()"