Answer the question
In order to leave comments, you need to log in
How do I store information that belongs to the user?
I am a relative newbie to django and python. Now I set myself the task of making a task manager.
And during the development process, I ran into a problem, I need each user to have their own tasks and everyone sees only what he created, I don’t understand at all how to attribute certain blocks to a registered user.
Answer the question
In order to leave comments, you need to log in
Obviously, to add a foreign key to the user model.
There are plenty of examples in the documentation, which should be read by beginners (well, or at least look at some points).
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question