title: Django regroup grouper
body: <p>I have successfully implemented the regroup call in my template to order missed donations by a pickup_id. The goal was to display all the routes where a a missed donation occured, and a list of all the names underneath the route name. Pickup routes can have the same name so I was grouping by pickup_id. When I do that and call {{ route.grouper }} it returns the ID of the pickup of course. How can I call the field 'route' which displays the route name from grouper?</p>
  
  <p>I was trying things like this...</p>
  
  <pre><code>{{ route.grouper.route }} 
  {{ route.route.grouper }}
  </code></pre>
  
  <p>view</p>
  
  <pre><code>missed_routes = Donor.objects.filter(missed='YES').order_by('pickup_id')    
  </code></pre>
  
  <p>template</p>
  
  <pre><code>{% regroup missed_routes by pickup_id as missed_pickups %}
  {% for route in missed_pickups %}
      &lt;p&gt;{{ route.grouper }}&lt;/p&gt;
      &lt;ul&gt;
          {% for donor in route.list %}
              &lt;li&gt;{{ donor.last_name }}&lt;/li&gt;
          {% endfor %}
      &lt;/ul&gt;
  {% endfor %}
  </code></pre>