Hey,

This problem's kinda hard to explain, but I'll try my best. I've got a
list variable : notes_list which looks like: {'note 1', 'note2' etc..}

I'm using this variable within a forloop and I want it to cycle based
on the number of loop (notes_list.0 for the first loop, notes_list.1
for the second time it loops).

I tried using the following code:

{{notes_list.forloop.counter0}}

but that didn't work. Any ideas on how to solve this problem?


--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to