On Nov 7, 2:12 pm, jago <[EMAIL PROTECTED]> wrote:
> I tried the slice solution before. Unluckily it returns a list itself
> holding 1 item instead of the item itself. Most importantly though I
> cannot use a variable like forloop.counter0 to select the item I want
> but instead can only use static numeric values like 1,2,3
>

Hmm, if you're already looping through something, you should probably
make sure that all the things you need to refer to are contained in
the same iterable - for example by using zip(list1, list2) in your
view.

If you posted some code showing what you are trying to do, we might be
able to help a bit more.
--
DR.
--~--~---------~--~----~------------~-------~--~----~
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