2đź‘Ť
âś…
The satchmo currency
filter requires something that can be converted into a Decimal. However intcomma
returns a string, and since it adds the thousand separators, it can no longer be converted to a Decimal.
The solution would be to write a currency_with_intcomma
template filter yourself, which first runs through the currency
filter and then applies the thousand separators (you can’t use the builtin filter for that, you’ll have to do it “manullay”).
👤ojii
Source:stackexchange.com