What steps will reproduce the problem?
1. Create model.py with class that contains a DateTimeField(null=True)
2. Create that table object in code and save() without setting anything for
the DateTimeField(null=True)
3. Check the database, which will show 1/1/1900 instead of <NULL>
What is the expected output? What do you see instead?
Expect a NULL value, but getting 1/1/1900 instead
What version of the product are you using? On what operating system?
django-pyodbc Trunk version from yesterday (don't know the revision number,
sorry)
pyodbc 2.1.6
django trunk version from yesterday (again, don't know the revision number)
ubuntu hardy (8.0.4)
MSSQL 2000 Professional with lastest updates
Please provide any additional information below.
The type of field in MSSQL is a datetime field
Original issue reported on code.google.com by ross.peo...@gmail.com on 14 Oct 2009 at 5:54
Original issue reported on code.google.com by
ross.peo...@gmail.com
on 14 Oct 2009 at 5:54