I have an app with a datetime field. Then I saved enoght objects to
have one for each day of the month and the same results came up for:
App.objects.filter(date__gt=datetime.datetime(2007, 5, 21, 0, 0, 0))
or
App.objects.filter(date__gte=datetime.datetime(2007, 5, 21, 0, 0, 0))
also the same results for LTE or LT
its it my mistake somewhere? or is it a bug?
Daniel
We've fixed some tickets related to this in the past. I cannot remember
off the top of my head if there is still one open or not. Make sure the
problem is repeatable with the latest subversion code and the database
backend you are using will probably be significant, too. Most of the
problems that have been reported have been with SQLite (or caused by
trying to fix SQLite issues).
So django version, database backend and Python version (because Python
2.5 uses the builtin SQLite driver) are probably all relevant if you
open a ticket. But have a search in the database component (just scan
through the titles of all the open tickets in that component) first to
see if it's a dupe.
Regards,
Malcolm
Michael
Michael
Daniel
On Jun 20, 9:03 pm, Malcolm Tredinnick <malc...@pointy-stick.com>
wrote: