Django Book 翻译
菜单>:
TOC
返回
原文:
This application holds 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 youve done that, use ``{% load humanize %}`` in a template, and youll have access to the filters described in the following sections.
翻译:
该应用程序包括一系列 Django 模板过滤器,用于增加数据的人性化。要激活这些过滤器,仅需将 ``'django.contrib.humanize'`` 加入到 ``INSTALLED_APPS`` 设置中。一旦完成该项工作,在模板中使用 ``{% load humanize %}`` 就能访问后续小节中讲述的过滤器了。
备注:
译者: