会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
谷辣辣
博客园
首页
新随笔
联系
订阅
管理
2018年9月18日
django 自定义simple_tag,filter
摘要: SIMPLE_TAG 1、在APP下创建templatetags目录。必须 是templatetags 2、在templatetags目录下创建tag.py,任意名 3、在tag.py 中 from django import template register=template.Libraty()
阅读全文
posted @ 2018-09-18 20:04 谷辣辣
阅读(336)
评论(0)
推荐(0)
编辑
django配置中文及静态文件设置
摘要:
阅读全文
posted @ 2018-09-18 09:49 谷辣辣
阅读(188)
评论(0)
推荐(0)
编辑
公告