mirror of
https://expo.survex.com/repositories/troggle/.git
synced 2024-11-22 07:11:52 +00:00
fix for no comma after lat item in django template
This commit is contained in:
parent
0cf3b869af
commit
f1ceb38f5f
@ -1,4 +1,4 @@
|
||||
{% extends "baseapi.html" %}
|
||||
{% block content %}{
|
||||
{% for expedition in object_list %}"{{expedition.year}}": ["{{expedition.name}}","{{expedition.get_absolute_url}}"]
|
||||
{% for expedition in object_list %}{% if not forloop.last %}"{{expedition.year}}": ["{{expedition.name}}","{{expedition.get_absolute_url}}"],{% endif %}{% if forloop.last %}"{{expedition.year}}": ["{{expedition.name}}","{{expedition.get_absolute_url}}"]{% endif %}
|
||||
{% endfor %} }{% endblock %}
|
Loading…
Reference in New Issue
Block a user