[Answered ]-How can I check if an item is in a intermediate table and exclude it?

2👍

Since you have a foreign key explicitly from Picture to Event, this should be as simple as event.picture_set.all().

Edit

To exclude items that appear in an OrderItem, you would do:

event.pictures.filter(orderitem=None)

Leave a comment