title: Django-pagination: Accessing the page object after using {% autopaginate list %}
body: <p>I'm using django-pagination to paginate lists for my Django site. At the top of my template, I'm using</p>
  
  <pre><code>{% autopaginate projects 10 %}
  </code></pre>
  
  <p>I want to display something like 'Showing 1 - 10 of 52 results'. I know it's easiest to do this with the page objects created by the template tag. The problem is that I don't know how to access it in the template context.</p>
  
  <p>I tried to look through the source, and it looks like the tag loads it into 'page_obj' as you can see <a href="http://code.google.com/p/django-pagination/source/browse/trunk/pagination/templatetags/pagination_tags.py#104" rel="nofollow noreferrer">here</a>, but I couldn't get it to work.</p>
  
  <p>Showing <code>&lt;span&gt;{{ page_obj.start_index }}&lt;/span&gt; - &lt;span&gt;{{ page_obj.end_index }}&lt;/span&gt; of &lt;span&gt;{{ projects.count }}&lt;/span&gt; results</code></p>
  
  <p>only displays: Showing - of <strong>5</strong> results</p>