has nobody an idea for this? Hour and Minute itself seems to be easy - should just be added to where.py WhereNode class => make_atom() - but how to extend the functionality to greater / lower?
-- Hinnack On Nov 27, 2:53 pm, Hinnack <henrik.gens...@googlemail.com> wrote: > Hi, > > how would I extend the field lookup to get somethnng like this: > > SELECT ... WHERE EXTRACT('hour' FROM pub_date) > 20 > what is for MYSQL: > SELECT ... WHERE HOUR(pub_date) > 20 > to get all entries where the timepart of pub_date is grater then 8pm > > and how would I change the existing of YEAR, MONTH, DAY for > and <... > > regards > > -- Hinnack -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.