会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
王府的秘密
要么不做,要么做好
博客园
首页
联系
订阅
管理
2019年8月19日
django模块导入/函数/中间件/MVC和MTV/CSRF
摘要: [TOC] 一:模块导入 第一种:继承 这里的母版更像是一个架子,子板都是定义的内容(如果多个页面中 ,存在相同的页面;这样我们可以抽到母版中实现) 母版:layer.html 子板:son.html 第二种:导入模板 如果我们A.html文件中写好了一个组件,想要添加到B.html文件中。因此我们
阅读全文
posted @ 2019-08-19 19:04 Hello_Jack
阅读(336)
评论(0)
推荐(0)
编辑
公告
# 页脚html代码 /*头部导航栏*/ #navigator { font-size:15px; border-bottom: 1px solid #ededed; border-top: 1px solid #ededed; height: 60px;/*导航栏高度,原始50*/ clear: both; margin-top: 25px; } /*导航栏设置,可以自定义导航栏的目录*/ #navList { min-height: 35px; float: left; } #navList li { /*每一个栏目节点*/ float: left; margin: 0 5px 0 0; /*这里原来是0 40px 0 0 */ } #navList a { /*栏目文字的格式*/ display: block; width: 5em; height: 22px; float: left; text-align: center; padding-top: 19px; }