.Tang

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理
上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 27 下一页

2018年7月12日

摘要: 自定义django登录装饰器 阅读全文
posted @ 2018-07-12 11:58 .Tang 阅读(757) 评论(0) 推荐(0) 编辑

摘要: # aware time:清醒的时间(清醒的知道自己这个时间代表的是哪个时区的)# navie time:幼稚的时间(不知道自己的时间代表的是哪个时区) 在settings.py中设置 #### 使用aware time 进行计算操作。出现的错误 阅读全文
posted @ 2018-07-12 11:31 .Tang 阅读(209) 评论(0) 推荐(0) 编辑

摘要: 莫名其妙的错误。 删除了migreation文件,并且更换了数据库。 1.直接makemigrations + migrate error: no change ?? WTF 2.makemigrations app + migrate app 循环完成 no error, but can't us 阅读全文
posted @ 2018-07-12 10:07 .Tang 阅读(659) 评论(0) 推荐(0) 编辑

2018年7月11日

摘要: 在另一个函数中,将需要使用的函数绑定在window下 阅读全文
posted @ 2018-07-11 16:03 .Tang 阅读(12189) 评论(0) 推荐(0) 编辑

2018年7月10日

摘要: 1.form 2.ajax发送 django获取文件 request.FILES.get('file', '') tornado获取文件 self.requests.files.get('file', '') 获取的格式 list [{'body': 'aaa', 'content_type': u 阅读全文
posted @ 2018-07-10 10:56 .Tang 阅读(231) 评论(0) 推荐(0) 编辑

2018年7月9日

摘要: btn.click(function (event) { event.preventDefault(); // 组织发送 $.ajax({ ...}) }) 阅读全文
posted @ 2018-07-09 17:08 .Tang 阅读(392) 评论(0) 推荐(0) 编辑

摘要: <label class="btn btn-default btn-file">上传图片 <input hidden type="file" class="btn btn-default"></label> 阅读全文
posted @ 2018-07-09 16:59 .Tang 阅读(786) 评论(0) 推荐(0) 编辑

2018年7月6日

摘要: bootstrp样式: v3.bootcss.vom 弹窗: sweetalert 后台管理系统页面框架 css框架 LTE adminlte.io 编辑器 UEditor 阅读全文
posted @ 2018-07-06 17:43 .Tang 阅读(123) 评论(0) 推荐(0) 编辑

摘要: 地址:https://adminlte.io/ 下载代码。使用index.html的页面及相关文件 通过下在线检查adminlte.io的后台的各种模块元素,仿写。 阅读全文
posted @ 2018-07-06 11:41 .Tang 阅读(155) 评论(0) 推荐(0) 编辑

2018年7月5日

摘要: pip freeze >requirements.txt 阅读全文
posted @ 2018-07-05 16:22 .Tang 阅读(106) 评论(0) 推荐(0) 编辑

上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 27 下一页