From 722fac42fce739215b5d838d640003da15d5d64f Mon Sep 17 00:00:00 2001 From: luxagraf Date: Thu, 29 Jun 2023 15:49:17 -0500 Subject: added humanize to put commas in numbers --- app/deals/templates/deals/deal_detail.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'app') diff --git a/app/deals/templates/deals/deal_detail.html b/app/deals/templates/deals/deal_detail.html index 8ddb6d8..0d68d8a 100644 --- a/app/deals/templates/deals/deal_detail.html +++ b/app/deals/templates/deals/deal_detail.html @@ -1,3 +1,5 @@ -

{{object.title|capfirst}} for ${{object.get_deal_price_pretty}} (${{object.dollars_off}} off)

+{% load humanize %} + +

{{object.title|title}} for ${{object.get_deal_price_pretty|intcomma}} (${{object.dollars_off}} off)

-- cgit v1.2.3-70-g09d2