V
V
Vista2015-06-25 09:35:30
Django
Vista, 2015-06-25 09:35:30

Authorization in your own way, how to implement?

Good afternoon toasters!!!
Please tell me how to do so,
1) so that when I access the address 127.0.0.1:8000 , she throws me on the authorization form, and not on the admin panel itself ?!
2) so that when you try to enter the admin panel, it gives out 403 Error. By what means can this be done, or is there a solution only from under the 'box'?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Andrey K, 2015-06-25
@mututunus

1) https://docs.djangoproject.com/en/1.8/ref/settings...

I
IvanOne, 2015-06-29
@IvanOne

1) Here you can configure via urls.py, that is, via the django router

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question