当前位置: 首页 > 2010年12月发布的所有日志
  • DJANGO FORMS:This field is required

    when meet This field is required at django forms, we can add “required=False” at Fields. from django import forms class ContactForm(forms.Form):    subject = forms.CharField(max_length=100)    message = forms.CharField()    sender = forms. ...

    阅读全文
    作者:u2 | 分类:python | 标签:
    DJANGO FORMS:This field is required已关闭评论