Hi all, I have a simple model with 'id' as a primary key and I have a list of IDs that were already processed in variable 'processed_ids'.
How can I retrieve all objects that are *not* in that list? Something like "Model.objects.filter(id__not_in = processed_ids)". Unlike filter(id__in=...) which works just fine the __not_in modifier apparently isn't understood by django. I hope I won't have to fetch everything and then filter manually in a loop. Any ideas? Thanks! Michal --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

