05 2021 档案
摘要:systemctl stop firewalldsystemctl stop iptablessystemctl disable firewalld.servicesystemctl disable iptables.servicesed -i 's/SELINUX=enforcing/SELINU
阅读全文
摘要:根目录建立.prettierrc文件 配置: { "semi": false, "singleQuote": true, "bracketSpacing": false }
阅读全文
摘要:1、(重点)二次封装Response:自定义APIResponse继承Response,重写__init__方法 2、(正常)设置了abstract为True的模型类,称之为基表,这样的模型类是专门作为基类来提供公有属性的 3、(重点)ORM多表关联操作: 外键所放位置 一对多:外键放在多的一方 多
阅读全文
摘要:1、django安装django-cros-headers,settings配置: INSTALLED_APPS = [ 'corsheaders', ... ] MIDDLEWARE = [ 'corsheaders.middleware.CorsMiddleware', ... ] CORS_A
阅读全文
摘要:加大 uwsgi_read_timeout 和 uwsgi_send_timeout
阅读全文

浙公网安备 33010602011771号