Answer the question
In order to leave comments, you need to log in
Customize django.contrib.auth.views.login form?
Good afternoon. There is a template with the styles connected to it. I want to customize django.contrib.auth.views.login form .
<form class="form">
<input type="text" placeholder="Username">
<input type="password" placeholder="Password">
<button type="submit" id="login-button">Login</button>
</form>
Answer the question
In order to leave comments, you need to log in
<form class="form" method="POST" action="адрес куда нужно отправить">
{% csrf_token %}
<input type="text" placeholder="Логин" name="username">
<input type="password" placeholder="Пароль" name="password">
<button type="submit" id="login-button">Зайти</button>
</form>
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question