self.errors is empty but shows error in template

前端 未结 0 1781
一向
一向 2020-12-09 05:54

I can\'t believe in that:

forms.py:

class MyForm(forms.Form):
    field1 = forms.CharField(label=\'somelabel\', max_length=254, widget=forms.TextInput(         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题