title: Retrieving Unrelated Objects in Django REST Framework
body: <p>My model consists of 3 classes: Offer, Application, and Contract. Relationships are as follows:</p>
  
  <p>Application to Offer: One to One</p>
  
  <p>Application to Contract: One to One</p>
  
  <p>Model code is as follows:</p>
  
  <pre><code>class Application(models.Model):
     application_name = models.CharField(max_length=255)
  
  class Offer(models.Model):
     offer_name = models.CharField(max_length=255)
     application = models.OneToOneField(Application)
  
  class Contract(models.Model):
     contract_name = models.CharField(max_length=255)
     application = models.OneToOneField(Application)
  </code></pre>
  
  <p>Is there a way for me to access Contract from Offer via Application in a single REST call? I know how to access Application from Offer since they are related. A way around this is to relate Offer to Contract but I would prefer not to do this because it would not be considered good relational database design. </p>
  
  <p>Any help would be greatly appreciated. Thanks.  </p>