I'm building a dinamic list of links, and I want that been separated by '|' character.
Note that 'foo' is a list --------------- {% for i in foo %} <a href="{% url test_foo i %}">{{ i }}</a>| {% endfor %} --------------- The problem is that I wantn't that last separator (because there isn't another field). I tried the next one but without luck: --------------- {% ifnotequal i foo|slice:'-1' %}|{% endifnotequal %} --------------- How could be solved? Thanks in advance --~--~---------~--~----~------------~-------~--~----~ 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 django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---