Oops - I didn't read far enough in the DB API!
Q objects do exactly this!
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To
I'm trying to define a bunch of queries that take advantage of
__icontains and other filter parameters. Its easy to do this
statically -
res = Foo.objects.filter(title__icontains=something,
desc__icontains=something_else)
But I have many queries and want to create something like this:
quer
2 matches
Mail list logo