2020年3月22日
摘要: a上一行 b 下一行 l 显示行数 table 编写时提示变量名 shift+enter 执行完毕后在下一行 ctrl+enter 执行完毕后还在本行 在前面的行头 点一下 可以在上面加一行 按H打开快捷键设置 阅读全文
posted @ 2020-03-22 16:55 仙人小麦 阅读(289) 评论(0) 推荐(0) 编辑
摘要: 1、Refused to execute script from 'URL' because its MIME type ('texthtml') is not executable, a nd strict MIME type checking is enabled 问题出现的原因:静态文件路径错 阅读全文
posted @ 2020-03-22 16:47 仙人小麦 阅读(450) 评论(0) 推荐(0) 编辑
摘要: 1、装饰器缩进错误 耗时3个小时找出 2020.2.7.12.40 2.模块中没有__init__文件,没有写出项目文件夹下的根目录,导致找不到此模块 耗时1个小时 。 2020.2.22 18.46 以后再找不到模块时,多写一层父目录 3.RuntimeError 解决方法:就是把你的运行代码整合 阅读全文
posted @ 2020-03-22 16:46 仙人小麦 阅读(152) 评论(0) 推荐(0) 编辑
摘要: 1、input button 按钮 按着没反应,有可能是按钮太小了 2.$(self) 引用自身时不要再self上加引号了 耗时20min 3.input radio bug(未解决):一、选择多次后无法更改. 二、无论选择哪个 向后台传的值都是一样的 input radio : 隐藏单选框并关联s 阅读全文
posted @ 2020-03-22 16:41 仙人小麦 阅读(111) 评论(0) 推荐(0) 编辑
  2020年3月19日
摘要: class sqlHandler(): def __init__(self): self.connect() def connect(self): self.conn = conn = pymysql.connect(host="127.0.0.1", port=3306, user="root", 阅读全文
posted @ 2020-03-19 19:10 仙人小麦 阅读(189) 评论(0) 推荐(0) 编辑
摘要: utils/pager.py class Pagination(object): def __init__(self, current_page, all_count, base_url, query_params, per_page=30, pager_page_count=11): """ 分页 阅读全文
posted @ 2020-03-19 19:07 仙人小麦 阅读(1038) 评论(0) 推荐(0) 编辑