当我使用Django时 {{ forms }} 我使用内置功能呈现的表单,如果用户提交和字段无效,无效字段将被清除,但表单中的其余信息不会被清除,这为用户提供了仅更改引发错误的字段的功能。当我在提交时使用HTML表单时,如果出现错误,所有字段都会被清除,用户必须从头开始重新编写所有信息。 如何在html表单中实现与在Django中相同的功能? {{ forms }}
the_correct_password') response = self.client.post(reverse('django.contrib.auth.views.loginSuccess redirects to the homepage, so its 302 not 200
response = self.client.post(reverse('django.contrib.auth.views.login为什么<e