- Flask Framework Cookbook(Second Edition)
- Shalabh Aggarwal
- 31字
- 2021-06-24 13:58:02
How it works...
The filter can be used in our template for the product as follows:
<h3>{{ product['price']|format_currency }}</h3>
The preceding code will yield the result shown in the following screenshot:
