Whenever a variable is used in a filter's arguments (have checked for slice only...might be applicable for other filters also) it is wrongly parsed and we get a TemplateSyntaxError which says "slice requires 1 arguments, 0 provided". From the traceback here is what I received on the output:
The token being u'some_item.var2|slice:":{{ forloop.counter0' Notice the missing "}}" Here is the test code: {% for some_item in many_items %} {{ some_item.var1 }} {{ some_item.var2|slice:": {{ forloop.counter0 }}" }} {% endfor %} I have opened a ticket and here it is http://code.djangoproject.com/ticket/5874 Cheers Thejaswi Puthraya --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-developers@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-developers?hl=en -~----------~----~----~----~------~----~------~--~---