To activate these filters, add 'django.contrib.markup' to your INSTALLED_APPS setting. Once you’ve done that, use {% load markup %} in a template, and you’ll have access to these filters. For more documentation, read the source code in django/contrib/markup/templatetags/markup.py.
查看Django附带的markup附加组件。这就是你要找的。在
如果你还被卡住了,还可以查看this article获取更多详细信息。在
相关问题 更多 >
编程相关推荐