I have the following models in my django project:
class Video(models.Model): media = models.ForeignKey(Media) class Media(models.Model): title = models.
You can chain the filters together for an "AND" construct.
Videos where the format is f AND the format's status is 10
f
10
Video.objects.filter(media__formats=f).filter(media__mediaformat__status=10)