diff options
author | luxagraf <sng@luxagraf.net> | 2023-06-29 15:49:17 -0500 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2023-06-29 15:49:17 -0500 |
commit | 722fac42fce739215b5d838d640003da15d5d64f (patch) | |
tree | 86f8175936b8039df3f7d7533c54dcf3f983b4b5 /app | |
parent | 1ebcea727da09a1b16853c7bb3a5523cf04d9ffc (diff) |
added humanize to put commas in numbers
Diffstat (limited to 'app')
-rw-r--r-- | app/deals/templates/deals/deal_detail.html | 4 |
1 files changed, 3 insertions, 1 deletions
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 @@ -<h4><a href="{{object.url}}">{{object.title|capfirst}} for ${{object.get_deal_price_pretty}} (${{object.dollars_off}} off)</a></h4> +{% load humanize %} + +<h4><a href="{{object.url}}">{{object.title|title}} for ${{object.get_deal_price_pretty|intcomma}} (${{object.dollars_off}} off)</a></h4> |