title: Performing a right join in django (take 2)
body: <p>With reference to <a href="https://stackoverflow.com/questions/27510177/performing-a-right-join-in-django">Performing a right join in django</a> , when I try a similar approach (field slightly different):</p>
  
  <pre><code>class Student:
      user = ForeignKey(User)
      department = IntegerField()
      semester = IntegerField()
  
  class Attendance:
      student_attending = ForeignKey(Student, related_name='attendee')
      subject = ForeignKey(Subject)
  </code></pre>
  
  <p>When I run this query:</p>
  
  <pre><code>queryset = Student.objects.all().select_related('attendance_set')
  </code></pre>
  
  <p>I get this response:</p>
  
  <pre><code>django.core.exceptions.FieldError: Invalid field name(s) given in select_related: 'attendance_set'. 
  </code></pre>
  
  <p>What could trigger that warning and how do I get the 'join' to work properly?</p>