[patch] newforms.URLField() does not validate with both required=False and verify_exists=True
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.
Attachments
(1)
- fields.diff
(470 bytes
) - added by astrec 18 years ago.
- replacement patch - non-relative header, and .diff extension
Download all attachments as:
.zip
Change History
(4)
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
|
Resolution: |
→ fixed
|
Status: |
new → closed
|
replacement patch - non-relative header, and .diff extension