1
0
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:
Tim Graham 2017-05-29 18:00:47 -04:00
parent eedc88bd4a
commit 17ed0d36bc

View File

@ -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``