Hi,

i have a datetime field for my model. Now i want to filter all entries
where the time is between 12:00:00 and 13:00:00 .
How to do this?

I tried Entry.objects.filter(begin__gt='12:00:00', end__lt='13:00:00')

Cheers,

tom
-- 
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.


Reply via email to