摘要: trouble shooting https://www.django.cn/article/show-4.html https://blog.csdn.net/lh756437907/article/details/52151000/usr/local/nginx/sbin/nginx -c /u 阅读全文
posted @ 2018-10-20 19:21 CrossPython 阅读(193) 评论(0) 推荐(0) 编辑
摘要: GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY '123!@#sdt@' WITH GRANT OPTION; FLUSH PRIVILEGES; 阅读全文
posted @ 2018-10-20 18:43 CrossPython 阅读(176) 评论(0) 推荐(0) 编辑
摘要: 严格按下面步骤 一、更新系统软件包 yum update -y 二、安装软件管理包和可能使用的依赖 yum -y groupinstall "Development tools" yum install openssl-devel bzip2-devel expat-devel gdbm-devel readline-devel sqlite-devel 三、下载Pyhton3到/usr/... 阅读全文
posted @ 2018-10-20 15:40 CrossPython 阅读(902) 评论(4) 推荐(0) 编辑
摘要: 要自定义处理url请求错误需要进行三步操作:主要错误有: 404错误:page not found视图 500错误:server error视图 400错误:bad request视图 以404错误为例,500、404同理 我这里创建了一个应用,名为booktest Step1:修改settings 阅读全文
posted @ 2018-10-20 13:00 CrossPython 阅读(5631) 评论(1) 推荐(1) 编辑