How to use initial parameter in a Django form class

前端 未结 0 898
终归单人心
终归单人心 2021-01-14 11:08

I ve a form class called EditPage(forms.Form) with a title and content attributes shown below.

class EditPage(forms.Form):
    title = forms.CharField(label=\         


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