Answers for "remove last comma forloop django"

0

remove last comma forloop django

{% for product_in_series in series.get_products %}{%spaceless%}
    {% with product_in_series.product as product %}
    {%if not forloop.first%}
        "<img src='{% version product.get_overview 'page_image' %}'>"
        {%if not forloop.last%},{%endif%}
    {%endif%}
    {% endwith %}
{%endspaceless%}{% endfor %}
Posted by: Guest on August-23-2021

Code answers related to "remove last comma forloop django"

Python Answers by Framework

Browse Popular Code Answers by Language