Django uwsgi 错误日志分析例子 uwsgi 启动时就报错 一般能看到:--- no python application found, check your startup logs for errors ---,基本上是配置出错了,无法正常启动 uwsgi。 ... continue reading django zhuoyuebiji 2019/12/26 2312
ImportError: cannot import name 'QUERY_TERMS' 错误背景(background ) Django 1.11 upgrade to Django 2.x 错误日志(error log) File "<frozen importlib._b ... continue reading django zhuoyuebiji 2020/5/27 2303
Django 用户权限、用户角色使用指南(转) RBAC(Role-Based Access Control,基于角色的访问控制)就是用户通过角色与权限进行关联。简单地说,一个用户拥有若干角色,每一个角色拥有若干权限。这样,就构造成“用户-角色-权限”的授权模型。 ... continue reading django zhuoyuebiji 2020/3/6 2281
Nginx 同一 iP 多域名配置方法(多子配置文件,含 https) 一、Nginx 配置文件 路径:/usr/local/nginx/conf/nginx.conf 操作:在 http 模块增加(子配置文件的路径和名称):include vhost/*.conf; 另外需要注 ... continue reading nginx zhuoyuebiji 2019/5/30 2271
Windows +apache + django + mod_wsgi 部署 Django 站点 前提、部署环境 1. windows 10 x64 2. apache 2.4 x64 3. python 3.5 x64 4. django 1.11 5. mod_wsgi: ... continue reading apache zhuoyuebiji 2017/10/7 2236
Centos7 systemctl 添加 uwsgi(开机启动) uwsgi 配置 [uwsgi] # 监听端口 socket = 127.0.0.1:9090 #socket = 127.0.0.1:3031 # 运行状态 #stats = 127.0.0.1:9191 # ... continue reading centos zhuoyuebiji 2021/4/26 2234
HINT: It seems you set a fixed date / time / datetime value as default for this field. This may not be what you want. If you want to have the current date as default, use `django.utils.timezone.now` WARNINGS operations.AnchorBindAgent.start_time: (fields.W161) Fixed default value provided. HINT: ... continue reading django zhuoyuebiji 2020/3/28 2230
Nodejs 启动后台服务(前端代码运行起来) 启动 node 服务 HTML 前端代码 <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF ... continue reading html zhuoyuebiji 2021/1/18 2222
APP 提测标准(规范) 背景 “万事俱备,只欠东风”出自《三国演义》四十九回,原文为:孔明索纸笔,屏退左右,密书十六字曰:“欲破曹公,宜用火攻,万事俱备,只欠东风。”原意是周瑜定计火攻曹操,作好了一切准备,忽然 ... continue reading 软件测试 zhuoyuebiji 2020/1/8 2210
Python3 解析 json 字符串并返回支持属性访问的对象 目的 将任意一个 json 字符串,转换为 python 的 object 对象,转换后支持使用属性访问。 方法 json 解析命令行使用的 argparse,可以任意规定命令行关键字,并能使用属性访问。 查 ... continue reading python zhuoyuebiji 2019/8/18 2205