Open GoogleCodeExporter opened 9 years ago
To reproduce the problem:
#models.py
class MyModel(models.Model):
date_nullable = models.DateTimeField(null = True, blank = True)
#test.py
import os
os.environ['DJANGO_SETTINGS_MODULE'] = 'settings'
from myapp.models import MyModel
mymodel = MyModel(
pk = 123,
date_nullable = None
)
mymodel.save()
Original comment by nbma...@gmail.com
on 20 Jun 2011 at 2:57
Was there any workaround for this? I'm hitting it (I think) during a manage.py
loaddata call with a JSON fixture. It came straight from another Django
instance using SQL Server, so I expected it to just work...
Original comment by m...@subfocal.net
on 7 Jul 2012 at 4:12
Original issue reported on code.google.com by
nbma...@gmail.com
on 20 Jun 2011 at 2:34