It is possible to limiting QuerySet in this kind of way:
creators_list = ['jane', 'tarzan', 'chita']
my_model.objects.filter(creator=creators_list)
???
It is possible to limiting QuerySet in this kind of way:
creators_list = ['jane', 'tarzan', 'chita']
my_model.objects.filter(creator=creators_list)
???
You mean like this?
Docs: http://docs.djangoproject.com/en/dev/ref/models/querysets/#in
EDIT
This is now a bit outdated. If you run into problems with the original code, try this:
There's probably a better way to do it but I'm not able to test it at the moment.