Answer the question
In order to leave comments, you need to log in
Django social auth, how to make custom model for db?
Good afternoon!
The task is this: the user logs in through Facebook (I used social django for this), I get all the necessary information, in my case, the name, photo, email and profile address.
But in my task it is required to store some information in text form, which comes from the client. How can I push it into the db provided by social django?
All I found was an 8 year old Stackoverflow article that didn't cover the topic very well and talked about inheriting your model from django.contrib.auth.models.AbstractBaseUser, but I couldn't figure out how to use it further. ..
I would be most grateful for your help!
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question