i have a templatetags as following:
{% load bookmarks.templatetags.commrate %}
{% rate_for_object suburb as rate_list %}
{% for rate in rate_list %}
<BR> rate: {{ rate.rate }}
{% endfor %}
it works well for me, but i want to list the element as
{{ rate_list[1].rate }}
but the result is:
Exception Value: Invalid block tag: 'rate_list[1]'
how can i list elements out except { % for ...%}
thanks!
--~--~---------~--~----~------------~-------~--~----~
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?hl=en
-~----------~----~----~----~------~----~------~--~---