Python/Django - How to set default value in custom form?

前端 未结 0 1495
鱼传尺愫
鱼传尺愫 2021-01-29 20:56

I\'ve got form in Django:

class NewsletterForm(forms.Form):
    first_name=forms.CharField(max_length=50,required=True,label=\'Twoje imię:\')
    email=forms.Emai         


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