I need compare values of a dict items inside a loop for in a django template.
{% for room in hotel.RoomRS %}
<p class="precio-old">1000,99€</p>
<p class="precio-new">{{ room.RoomRates.TotalAmount }}</p>
<p class="noche">120€ / noche</p>
{% endfor %}
This code return some integers values. I need compare it and choose the smallest one