If there are models as below:
class Donation(models.Model):
user = FKey(User)
project = FKey(Project)
...
class Campaign(models.Model):
user = Fkey(User)
project = FKey(Project)
...
class Project(models.Model)
...
What is the simplest django ORM query to find a list of all projects that a given user is associated with.
One direct solution is to obtain all the ids of the projects from both models and query the Projects model for the given ids.
But there has to be better solutions.