Fixed #3689, #5223 -- Fixed "1st of January" comparisons for SQLite without breaking...
commit1b0d5d78751e26827f9944341d69a77e47d8f7db
authormtredinnick <mtredinnick@bcc190cf-cafb-0310-a4f2-bffc1f526a37>
Sat, 23 Feb 2008 08:36:41 +0000 (23 08:36 +0000)
committermtredinnick <mtredinnick@bcc190cf-cafb-0310-a4f2-bffc1f526a37>
Sat, 23 Feb 2008 08:36:41 +0000 (23 08:36 +0000)
tree34e211d073ee169330d45e8f51fe1078d3dfa8c7
parent688fac9a18d1840754ea643b36e3447c344b80b8
Fixed #3689, #5223 -- Fixed "1st of January" comparisons for SQLite without breaking the other backends.

Based on a patch from raminf and tests from Nebojsa Djordjevic.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@7150 bcc190cf-cafb-0310-a4f2-bffc1f526a37
django/db/models/fields/__init__.py
tests/regressiontests/datatypes/models.py