📜  {% load humanise %} - Python 代码示例

📅  最后修改于: 2022-03-11 14:46:14.081000             🧑  作者: Mango

代码示例1
django.contrib.humanize¶
A set of Django template filters useful for adding a “human touch” to data.

To activate these filters, add 'django.contrib.humanize' to your INSTALLED_APPS setting. Once you’ve done that, use {% load humanize %} in a template, and you’ll have access to the following filters.