如果用户使用以下干净方法在名为"usd_value“的字段中输入了一个数值,我将尝试在django表单中验证:class CostItemsForm(ModelForm):ValidationError("usd_value must be numeric")但是不起作用,我的意思是,如果我把字段留为空或在那里输入一个文本值,警报根本不会激活,如果我试图保存表单,我就会出现错误(很明显)。
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