title: join tables with django
body: <pre><code>queryObj = Rating.objects.select_related(
      'Candidate','State','RatingCandidate','Sig','Office','OfficeCandidate').get(
          rating_id = ratingId, 
          ratingcandidate__rating = ratingId,
          ratingcandidate__rating_candidate_id = \
               officecandidate__office_candidate_id)
  </code></pre>
  
  <p>This line gives me an error.  I'm trying to get many different tables that are linked by primary keys and regular ids.  The last selection is the problem:  </p>
  
  <pre><code>ratingcandidate__rating_candidate_id = officecandidate__office_candidate_id.  
  </code></pre>
  
  <p>I need to skip around to get all the data.</p>