Answer the question
In order to leave comments, you need to log in
How to create a Django site with a custom page after logging in?
Recently started learning Django. I am creating a site where after authorization each user should have an individual page. Can you give me some advice on how best to implement this? For authorization I use allauth, but if necessary I will try something else.
Answer the question
In order to leave comments, you need to log in
I understand you need something like a personal account.
Then you need to decide how to extend the user model ( docs , article ) .
This is best done at the very beginning in order to reduce the amount of headaches in the future.
Next, create a route in urls.py for the personal account and a view in views.py that will provide the necessary information.
There is enough information in the article at the link and in the documentation to complete the task.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question