title: Django Pagination Current page in View.py
body: <p>I am using Pagination in Django but using AJAX so I have to send all variables values from view to AJAX call. But For Current page there is no builtin variable available ?.  As I saw official documentation. So how to Send this data already calculated in view.py ? </p>
  
  <pre><code> &lt;span class="current"&gt;
          Page {{ contacts.number }} of {{ contacts.paginator.num_pages }}.
      &lt;/span&gt;
  </code></pre>
  
  <p>Link reference<a href="https://docs.djangoproject.com/en/1.11/topics/pagination/" rel="nofollow noreferrer">Following this example </a> </p>