#3281: newforms.URLField() does not validate with both required=False and
verify_exists=True
-----------------------------+----------------------------------------------
Reporter: zendak | Owner: adrian
Type: defect | Status: new
Priority: normal | Milestone:
Component: django.newforms | Version: SVN
Severity: normal | Keywords:
-----------------------------+----------------------------------------------
The following newforms field will prevent its form from validating if
given a "False" value (empty string or None):
{{{
#!python
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.
--
Ticket URL: <http://code.djangoproject.com/ticket/3281>
Django <http://code.djangoproject.org/>
The web framework for perfectionists with deadlines.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---