remove comma from end of list

This commit is contained in:
Jamie Murphy 2023-10-22 15:27:19 +01:00
parent 48d7ca7a64
commit 413824934c
No known key found for this signature in database
GPG Key ID: 10EDAE1E6D858F5F

View File

@ -18,7 +18,7 @@
{% for model,objects in related_objects.items %}
- {{ model }}:
{% for object in objects %}
{{ object | linkify }},
{{ object | linkify }}{% if not forloop.last %}, {% endif %}
{% endfor %}
<br>
{% endfor %}