[doc] Remove the redundant "required=True"

The django form field default is "required=True", so there
remove the redundant "required=True" in doc.

Change-Id: Id88e0a4d8e97e78ce8e6be760d67f0db3d69f50c
This commit is contained in:
Qian Min Chen 2018-08-30 22:38:40 +08:00
parent fcfd9b0fd4
commit e47f695400
2 changed files with 2 additions and 3 deletions

View File

@ -309,7 +309,7 @@ Example::
# HTML form input will have a class attribute tenant-name-input, we
# can define here any HTML attribute we need.
name = tables.Column('name', verbose_name=_('Name'),
form_field=forms.CharField(required=True),
form_field=forms.CharField(),
form_field_attributes={'class':'tenant-name-input'},
update_action=UpdateCell)

View File

@ -77,8 +77,7 @@ urls, views, workflows and templates:
# step.
name = forms.CharField(max_length=255,
label=_("Testing Name"),
help_text="",
required=True)
help_text="")
def handle(self, request, data):
pass