Changes between Initial Version and Version 4 of Ticket #11765
- Timestamp:
- Sep 6, 2009, 12:14:45 AM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #11765
- Property Summary models.DateField(null=True, blank=True) accepts None, but not null string '' → models.DateField(null=True, blank=True) accepts None, but not the empty string ''
- Property Component Uncategorized → Database layer (models, ORM)
- Property Needs tests set
- Property Version 1.1 → SVN
- Property Resolution → invalid
- Property Status new → closed
-
Ticket #11765 – Description
initial v4 1 1 For some reason I cannot create a record with 2 {{{ 2 3 class MyModel(models.Model): 3 4 models.DateField(null=True, blank=True) 4 MyModel(MyDateField='') It must be either None or a valid date. 5 MyModel(MyDateField='') 6 }}} 7 It must be either None or a valid date. 5 8