I have a basic question, in the Django template language how can you tell if you are at the last loop iteration in a for loop?
for
You would use forloop.last. For example:
{% for item in menu_items %} {{ item }} {% endfor %}