title: How do you join all models that reference a model into one table in Django?
body: <p>I have multiple Django models that reference a model using foreign keys as such:</p>
  
  <pre><code>class LocationHistory(models.Model):
      region = models.ForeignKey(WorldGrid)
      ...
  
  class UserSynthVals(models.Model):
      region = models.ForeignKey(WorldGrid)
      ...
  
  class RegionalVictoryRate(models.Model):
      region = models.ForeignKey(WorldGrid)
      ...
  </code></pre>
  
  <p>Where WorldGrid is just:</p>
  
  <pre><code>class WorldGrid(models.Model):
      latitude = models.FloatField()
      longitude = models.FloatField()
      ...
  </code></pre>
  
  <p>Now, I am able to get all the models that reference WorldGrid (abstractly for reusability) with:</p>
  
  <pre><code>models_that_reference = [i.model for i in get_model('appname',model_name)._meta.get_all_related_objects()]
  </code></pre>
  
  <p>And at that point I can loop through them getting their model.objects.all().values(), but I cannot find a way to join those separate lists of objects into one that I could then output to a table.</p>
  
  <p>I would rather do something more along the lines of django's expected use (like what select_related() does) and keep this abstract.</p>
  
  <p>Any help solving this problem would be appreciated, or a new direction to try.</p>