#11765: models.DateField(null=True, blank=True) accepts None, but not null
string
''
---------------------------+------------------------------------------------
Reporter: shmengie | Owner: nobody
Status: new | Milestone:
Component: Uncategorized | Version: 1.1
Keywords: | Stage: Unreviewed
Has_patch: 0 |
---------------------------+------------------------------------------------
For some reason I cannot create a record with
class MyModel(models.Model):
models.DateField(null=True, blank=True)
MyModel(MyDateField='') It must be either None or a valid date.
--
Ticket URL: <http://code.djangoproject.com/ticket/11765>
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 [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
-~----------~----~----~----~------~----~------~--~---