title: That page contains no results Django ListView
body: <p>I have the problem in Django 1.9
  I have this problem when I go to the last result pagination</p>
  
  <p>views.py</p>
  
  <pre><code> class UserList(ListView):
       model = User
       template_name = 'account/users.html'
       paginate_by = 1
  </code></pre>
  
  <p>users.html</p>
  
  <pre><code>&lt;div class="pagination"&gt;
  &lt;span class="page-links"&gt;
      {% if page_obj.has_previous %}
          &lt;a href="?page={{ page_obj.previous_page_number }}"&gt;previous&lt;/a&gt;
      {% endif %}
      &lt;span class="page-current"&gt;
          Page {{ page_obj.number }} of {{ page_obj.paginator.num_pages }}.
      &lt;/span&gt;
      {% if page_obj.has_next %}
          &lt;a href="?page={{ page_obj.next_page_number }}"&gt;next&lt;/a&gt;
      {% endif %}
  &lt;/span&gt;
  </code></pre>
  
  <p></p>