python – 在django中注册自定义过滤器 2019年8月3日 django-template-filters 0条评论 92次阅读 0人点赞 我的过滤器没有注册,也不确定它被绊倒的地方. 在test / templatetags中 __init__.py test_tags.py test_tags.py包括 from django import templa…