1
0
mirror of https://github.com/django/django.git synced 2025-04-17 22:04:38 +00:00

[1.11.x] Removed incorrect "required" attribute in docs/ref/forms/fields.txt.

Backport of 17ed0d36bc3c380b7d8a0a30ceda09d98ab74fd4 from master
This commit is contained in:
Tim Graham 2017-05-29 18:00:47 -04:00
parent c341803315
commit 3e17b0222c

@ -125,7 +125,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``