#2426: validators.isValidANSIDate("2006-02-31",_) does not rise ValidationError
--------------------------+-------------------------------------------------
Reporter: [EMAIL PROTECTED] | Owner: adrian
Type: defect | Status: new
Priority: normal | Milestone:
Component: Validators | Version:
Severity: normal | Keywords:
--------------------------+-------------------------------------------------
Built-in re-based validator does not catch invalid day-month combinations.
Subsequent call to do_html2python force the value to None raising
exception on the database level if the field is NOT NULL. Of cause one can
add trivial custom validator for this check, but the better place is
'isValidANSIDate', because "2006-02-31" is really not a valid ANSI date.
--
Ticket URL: <http://code.djangoproject.com/ticket/2426>
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
-~----------~----~----~----~------~----~------~--~---