{% for product in products %} {% if forloop.counter0 == 0 %} {{product.id}} {{comanda.id}} {{product.name}} R$ {{product.price}} {% else %} {{product.name}} R$ {{product.price}} {% endif %} {% endfor %}
{{product.id}}
{{comanda.id}}