class ActiveOnly(models.Manager):
    use_for_related_fields = True

def get_queryset(self):
    return super(ActiveOnly, self).get_queryset().filter(active=True)
Django override behavior of double underscore relationship lookup in queries