Pycharm python 语法检查设置路径 路径:File -> Settings -> Editor -> Inspections -> Python 拼音检查:File -> Settings -> Editor -> Inspec ... continue reading python zhuoyuebiji 2019/12/3 1469
Django import_export 个性化可视化导出外键字段 models.py class Article(models.Model): """ 主题表/文章表 """ title = models.CharField(max_length=128, ... continue reading django zhuoyuebiji 2020/12/9 1469
Django 按年月日归档 view.py class TimlelineView(generic.ListView): model = Article template_name = 'timeline.html' conte ... continue reading django zhuoyuebiji 2018/8/4 1466
Django2.2.6 check_password 验证失败解决办法(重设密码) python3.6, django 2.2.6 AUTHENTICATION_BACKENDS 里添加自定义认证 CustomBackend(邮箱、手机号等), 用 python manage.py creates ... continue reading django zhuoyuebiji 2019/10/17 1459
Python3 读取含中文的 ini 配置文件 python3 读取含中文的 ini 配置文件 import configparser # 加载现有配置文件 conf = configparser.ConfigParser() # 含中文用 utf-8-sig,而不是 u ... continue reading python zhuoyuebiji 2018/10/20 1457
提问的智慧 提问的智慧 How To Ask Questions The Smart Way Copyright © 2001,2006,2014 Eric S. Raymond, Rick Moen 本指南英文版版权为 E ... continue reading 软件测试 zhuoyuebiji 2019/7/18 1457
Drf 启动报错:AssertionError: `coreapi` must be installed for schema support. 错误日志(error log): AssertionError: `coreapi` must be installed for schema support. 解决办法(solution): (joyoo2) yin ... continue reading django zhuoyuebiji 2020/5/25 1456
Pypi pip 清华源使用帮助 帮助文档地址 https://mirrors.tuna.tsinghua.edu.cn/help/pypi/ pypi 镜像使用帮助 pypi 镜像每 5 分钟同步一次。 临时使用 pip install ... continue reading python zhuoyuebiji 2019/10/15 1452
Django debug=False 时能找到静态文件的几种方式(静态文件找不到) runserver 模式(临时用) 启动命令:django-admin runserver --insecure --help: --insecure Allows serving static file ... continue reading django zhuoyuebiji 2020/3/1 1444
Django url ( 动态路由配置 ) 文档链接:https://yiyibooks.cn/xx/django_182/topics/http/urls.html 对于高质量的Web 应用来说,使用简洁、优雅的URL 模式是一个非常值得重视的细节。Django 让你随心所欲 ... continue reading django zhuoyuebiji 2019/7/31 1437