mirror of
https://github.com/django/django.git
synced 2025-08-31 15:57:45 +00:00
Removed incorrect "required" attribute in docs/ref/forms/fields.txt.
This commit is contained in:
parent
eedc88bd4a
commit
17ed0d36bc
1 changed files with 1 additions and 1 deletions
|
@ -124,7 +124,7 @@ We've specified ``auto_id=False`` to simplify the output::
|
|||
>>> f = CommentForm(auto_id=False)
|
||||
>>> print(f)
|
||||
<tr><th>Your name:</th><td><input type="text" name="name" required /></td></tr>
|
||||
<tr><th>Your website:</th><td><input type="url" name="url" required /></td></tr>
|
||||
<tr><th>Your website:</th><td><input type="url" name="url" /></td></tr>
|
||||
<tr><th>Comment:</th><td><input type="text" name="comment" required /></td></tr>
|
||||
|
||||
``label_suffix``
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue