id summary reporter owner description type status component version severity resolution keywords cc stage has_patch needs_docs needs_tests needs_better_patch easy ui_ux 9688 Date*Field IntegrityError 1048 column cannot be null pierpaolodf nobody "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. " closed Database layer (models, ORM) dev invalid DateField DateTimeField null IntegrityError 1048 Unreviewed 0 0 0 0 0 0