Answer the question
In order to leave comments, you need to log in
How to make your own login form?
Good afternoon. As I know, django provides its own login form (aka login form). That is, we can not create it, but simply write a line in urls.py:
path('', include('django.contrib.auth.urls')).
And call this form in the html template.
But how can you make your own form, that is, not use the standard one? I tried simply in the html template to replace the form call with two and , but unsuccessfully, the form began to cause an error. Perhaps you need to set some special value for name? Thank you)
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question