title: consecutive numbers tag template in django
body: <p>i have a ranking that only return a top 3, this is the queryset</p>
  
  <pre><code>queryset = Ranking.objects.filter(puzzle_id=self.kwargs['pk']).order_by('segundos')[:3]
  </code></pre>
  
  <p>In my template i have a table:</p>
  
  <pre><code>&lt;tbody&gt;
         {% for ranking in object_list %}
          &lt;tr&gt;
            &lt;th scope="row"&gt;&lt;/th&gt;
            &lt;td&gt;{{ranking.usuario}}&lt;/td&gt;
            &lt;td&gt;{{ranking.segundos}}&lt;/td&gt;          
          &lt;/tr&gt;
          {% endfor %}
  </code></pre>
  
  <p>In the first <code>&lt;th&gt;</code> tag i need a template tag that return 1 in the first row, 2 in the second row, and 3 in the third row, i know that the solution could be pretty simple but i have trying without success.</p>