V
V
vovvvik372019-11-14 01:45:54
Django
vovvvik37, 2019-11-14 01:45:54

How to restrict access to site pages to unauthorized users?

Good afternoon, tell me how to restrict access to all pages of the site, except for authorization, to unauthorized users?
It seems to be finding answers, well, I can’t understand what needs to be entered where ...
Write what to add to which file, I think so view--> urls maybe you need to add something to the settings?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question