title: Django many-to-many reverse of the same model?
body: <p>Is it possible to get the reverse of a django many-to-many of the same model?</p>
  <p>For example, I have a product that is called Product Range of XY that is part of Product Range X and Product Range Y.</p>
  <p>So far I have the following:</p>
  <h1>model.py</h1>
  <pre><code>class HeadwallRange(Product, ContentTyped):
      child_ranges = models.ManyToManyField(&quot;HeadwallRange&quot;, blank=True, related_name=&quot;child_range_products&quot;)
  </code></pre>
  <h1>views.py</h1>
  <pre><code>product_range = HeadwallRange.objects.filter(child_range_products = page.id).first()
  </code></pre>
  <p>I can go in the &quot;normal&quot; direction (i.e from Product Range X I can get Product Range XY) but given Product Range XY is there any way to get  Product Range X?</p>