mirror of
https://github.com/django/django.git
synced 2024-12-22 17:16:24 +00:00
Removed incorrect "required" attribute in docs/ref/forms/fields.txt.
This commit is contained in:
parent
eedc88bd4a
commit
17ed0d36bc
@ -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…
Reference in New Issue
Block a user