Answer the question
In order to leave comments, you need to log in
How to implement user authentication in Django?
How do I need to implement user authentication in Django if I have a User model defined in my database (PostgreSQL), and account data should be stored in this model. Djagno already has an auth application that does just that, i.e. I create a User object, fill in the fields, etc. But I don't quite understand how can I use exactly the User object that I have in the database?
Answer the question
In order to leave comments, you need to log in
Create a custom user https://docs.djangoproject.com/en/3.0/topics/auth/... but I'd do that until you're good at Django. It is also possible that this will be needed if your model is very different from the standard https://docs.djangoproject.com/en/3.0/topics/auth/...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question