D
D
David52019-11-19 21:44:58
Django
David5, 2019-11-19 21:44:58

User Validation?

I know how to hide content from unregistered users, I can't find how to filter users.
For example, so that there is a check, if the user who logged in, then he was shown articles created by this user, how can this be done?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dr. Bacon, 2019-11-19
@bacon

https://docs.djangoproject.com/en/2.2/topics/db/qu... although with such a question, it is probably better to advise you to go through the tutorial. And what you want is not validation.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question