#11765: models.DateField(null=True, blank=True)  accepts None, but not the empty
string ''
---------------------------------------------------+------------------------
          Reporter:  shmengie                      |         Owner:  nobody
            Status:  closed                        |     Milestone:        
         Component:  Database layer (models, ORM)  |       Version:  SVN   
        Resolution:  invalid                       |      Keywords:        
             Stage:  Unreviewed                    |     Has_patch:  0     
        Needs_docs:  0                             |   Needs_tests:  1     
Needs_better_patch:  0                             |  
---------------------------------------------------+------------------------
Comment (by tclancy):

 In case it helps anyone else tearing their hair out, here's one other
 thing to check (see [http://stackoverflow.com/questions/1134667/django-
 required-field-in-model-form/1650162#1650162 Stack Overflow ticket]): if
 you have any default or helper text in the field, that will blow up on
 validation before you get to the clean() method.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/11765#comment:6>
Django <http://code.djangoproject.com/>
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 django-updates@googlegroups.com
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to