#9688: Date*Field IntegrityError 1048 column cannot be null
--------------------------------------------------------------+-------------
 Reporter:  pierpaolodf                                       |       Owner:  
nobody    
   Status:  new                                               |   Milestone:    
        
Component:  Database layer (models, ORM)                      |     Version:  
SVN       
 Keywords:  DateField DateTimeField null IntegrityError 1048  |       Stage:  
Unreviewed
Has_patch:  0                                                 |  
--------------------------------------------------------------+-------------
 I have the following model:

 ...

 date=models.DateField?(blank=True, null=True)

 ...

 As I try to add a new record in admin it throws an IntegrityError 1048
 saying that the DateField? cannot be null, even though it is set to be
 both blank and null.

 I tried also programmatically in shell and it throws the same error.

 I'm working on Django SVN release 9525, Python 2.5, MySql? 5.0 and Apache
 2.2 with modpython.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/9688>
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to