jrb = User.objects.create(username='jrb')
bill = User.objects.create(username='bill')
bob = models.Tenant.objects.create(name='Bob')
models.Room.objects.create(owner=jrb, maintainer=bill, tenant=bob)
User.objects.filter(owns__tenant=bob)
How to perform queries in Django following double-join relationships (or: How to get around Django's restrictions on ManyToMany "through" models?)