摘要: Template filters that expect strings¶ django.template.defaultfilters.stringfilter()¶ 如果你正在编写一个只希望用一个字符串来作为第一个参数的模板过滤器,你应当使用stringfilter装饰器。 这将在对象被传入你的 阅读全文
posted @ 2020-09-30 11:51 Fmaj-7 阅读(409) 评论(0) 推荐(0)
摘要: 转自:https://blog.csdn.net/h18208975507/article/details/100076845 阅读全文
posted @ 2020-09-30 11:15 Fmaj-7 阅读(104) 评论(0) 推荐(0)