On Tue, 2006-08-01 at 16:22 +0000, spako wrote: > 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?
You can't. If you want a list of numbers to iterate over, you need to create them in your view. Regards, Malcolm --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

