I have a model that has an IntegerField. I'd like to filter only the even integers. sqlite has a modulus operator so I can do:
select * from mytable where my_int = my_int % 2 However, I'd like to use the QuerySet API to do this instead of resorting to SQL. Any ideas or hints? Thanks, Ryan
-- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

