#3281 closed defect (fixed)
[patch] newforms.URLField() does not validate with both required=False and verify_exists=True
Description ¶
The following newforms field will prevent its form from validating if given a "False" value (empty string or None):
url = newforms.URLField(required=False, verify_exists=True)
This combination of required and verify_exists causes a conflict. Note that for a corresponding model.URLField(blank=True, verify_exists=True) there is no such conflict when accessed through the Admin.
Change History (4)
comment:1 by , 18 years ago
Summary: | newforms.URLField() does not validate with both required=False and verify_exists=True → [patch] newforms.URLField() does not validate with both required=False and verify_exists=True |
---|
by , 18 years ago
Attachment: | fields.diff added |
---|
comment:2 by , 18 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
replacement patch - non-relative header, and .diff extension