?: (mysql.W002) MySQL Strict Mode is not set for database connection 'default' HINT: MySQL's ...
?: (mysql.W002) MySQL Strict Mode is not set for database connection 'default' HINT: MySQL's ...
Django的外键使用 https://blog.csdn.net/xujin0/article/details/83552349 通过主表查询子表、通过子表查询主表、字 ...
preload 为True的情况下,会将辅助线程或者进程开在master里,加重master的负担(master最好只是用来负责监听worker进程) django应用的gunicorn ...
Django 版本对应的 Python 版本: Django 版本 Python 版本 1.8 2.7, 3.2 , 3.3, ...
fetch无法获取302响应的header信息: 浏览器对于302状态重定向,是直接进行重定向。 且js的fetch请求无法获取(catch也好、then也罢)到302响应的header信 ...
django-rest-framework,即drf的api文档,包括自带的文档和其他三方文档,比如swagger、DRF Docs等 https://www.django-rest-framewo ...
django使用自身的web服务器时,处理并发的能力很弱,如果客户端并发连接数超过了其承载量,服务器会将其中一些连接关闭,从而导致这个问题 https://blog.csdn.net/xc_zhou ...
文档生成工具: 自带的pydoc,比较差 建议使用sphinx 安装: pip install sphinx 安装主题: 由各种主题,我选择常用的sphinx_rtd_theme pip ...
django的单元测试 指定测试范围: 指定运行某些测试文件./manage.py test --pattern="tests_*.py" -v 2 运行所有测试文件./manage.p ...
参考: 1、http://djangobook.py3k.cn/chapter03/ 2、http://blog.51cto.com/83090 ...