title: Django related_name not found
body: <p>I have this model:</p>
  
  <pre><code>class Person(models.Model):
      something ...
      employers = models.ManyToManyField('self', blank=True, related_name='employees')
  </code></pre>
  
  <p>When I do <code>person.employees.all()</code> I get this error: <code>'Person' object has no attribute 'employees'</code>. Is the related name only created when there is an actual link in place. If yes, how can I check this?</p>
  
  <p>EDIT: I'm aware of the <code>hasattr()</code> function. I'm still wondering why the attribute doesn't return an empty list when there's no related objects.</p>