django模版中带参数调用任意函数的方法

原文地址:http://www.sharejs.com/codes/python/7616 django模版中带参数调用任意函数的方法 #template_filters.py @register.filter def template_args(instance, arg): """ stores the arguments in a separate instance attribute ""
相关文章
相关标签/搜索