TypeError at /create __init__() got an unexpected keyword argument 'title'

后端 未结 0 1085
失恋的感觉
失恋的感觉 2020-11-22 01:29
class Diary(forms.Form):
    title = forms.CharField()
    content = forms.CharField(widget=forms.Textarea(), label=\'\')

This above one is my form,

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