Сообщество IT-специалистов
Ответы на любые вопросы об IT
Профессиональное развитие в IT
{% if cart.total <= 3000 %} disabled{% endif %}
def total(self): total = float() for item in self.items(): total += float(item.total()) return "{0:.0f}".format(total)