главное
if request.method == 'POST':
print(
request.POST)
form = AuthenticationForm(
request.POST)
print(form)
<QueryDict: {'csrfmiddlewaretoken': ['C6h84009DFxzLqMaQN2v7cciDez6DAzDXEXg8GaEOG2HhnIfoBjk9DWljVl0V7FN'], 'username': ['kaa@mail.ru'], 'password': ['sosok1561']}>
<tr><th><label for="id_username">Имя пользователя:</label></th><td><input type="text" name="username" autofocus required id="id_username"></td></tr>
<tr><th><label for="id_password">Пароль:</label></th><td><input type="password" name="password" required id="id_password"></td></tr>