On Tue, Mar 17, 2009 at 1:48 PM, Jacob Kaplan-Moss <
jacob.kaplanm...@gmail.com> wrote:

>
> On Tue, Mar 17, 2009 at 12:46 PM, Jesse <adles...@gmail.com> wrote:
> > I'm please to know of such a tag.  Do you know of a good example of
> > how it is used with the sum filter?  Otherwise, I will try.
>
> I don't know why you'd need the sum filter; the for tag does
> everything you'd want. See
> http://docs.djangoproject.com/en/1.0/ref/templates/builtins/#for for
> details of the {% for %} tag. You want something like::
>
> {% for record in record_list %}
>    {{ forloop.counter }}: {{ record }}
> {% endfor %}
>
> Jacob
>
> >
>
Jacob, if I understand the issue is that on the 2nd page he wants to start
the count at 101, not 1.

Alex

-- 
"I disapprove of what you say, but I will defend to the death your right to
say it." --Voltaire
"The people's good is the highest law."--Cicero

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to