I am looking for a way to identify the first item returned in a loop
and display it differently than the others:
basically it would go like:
{% for item in items %}
{% if is_first_item %}
This is what will show
{% else %}
this is what will show
{% endfor %}
Am I overlooking something in the docs?
--
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.