title: How to Make For Loop Django template. i was makeing a pagination in django
body: <pre><code>{% for i in paginated_queryset.num_pages %}
      {{ i }}
  {% endfor%}
  </code></pre>
  <p>paginated_quertser.num_pages = 9</p>
  <p>I want to output like this  1 2 3 4 5 6 7 8 9</p>
  <p>I also read django pagination document but in the document not given example like this and I am beginner in django</p>