i was wondering if there is a way to use the for loop to loop through a
sequence of numbers?

i.e. in python you would:

for i in range(10):
    ....

how would you do this in the template?

i'd like to use this for some paging i'm building. i want to keep all
the html in the templates, as there is the option of building the html
for paganation and passing that as a variable to the template.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users
-~----------~----~----~----~------~----~------~--~---

Reply via email to