Django Book 翻译
菜单>:
TOC
返回
原文:
To activate these filters, add ``'django.contrib.markup'`` to your ``INSTALLED_APPS`` setting. Once youve done that, use ``{% load markup %}`` in a template, and youll have access to these filters. For more documentation, read the source code in ``django/contrib/markup/templatetags/markup.py.``
翻译:
要激活这些过滤器,仅需将 ``'django.contrib.markup'`` 添加到 ``INSTALLED_APPS`` 设置中。一旦完成了该项工作,在模板中使用 ``{% load markup %}`` 就能使用这些过滤器。要想掌握更多信息的话,可阅读 ``django/contrib/markup/templatetags/markup.py.`` 内的源代码。
备注:
译者: