[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:
parent
fcfd9b0fd4
commit
e47f695400
@ -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)
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user