摘要: 一.常用命令 教程:https://www.runoob.com/mysql/mysql-drop-tables.html 启动 net start mysql 连接 mysql -uroot -p 显示数据库 show databases; 创建数据库: create database test 阅读全文
posted @ 2020-01-17 20:07 晨光曦微 阅读(122) 评论(0) 推荐(0)
摘要: 1. 官网下载mysql_8.0.12免安装包,解压到你存放的地方; https://www.jb51.net/softs/609101.html 2. 配置环境变量(把bin的文件夹弄进系统path里面); 3. 在解压的根路径中,查看是否含有my.ini文件,没有就新建一个,内容如下: (ps: 阅读全文
posted @ 2020-01-17 19:40 晨光曦微 阅读(1434) 评论(0) 推荐(0)
摘要: 一、基本设置 参考:https://docs.djangoproject.com/zh hans/3.0/topics/http/file uploads/ 1)配置project1/settings.py 因为图片也属于静态文件,所以保存到static目录下。 2)在static目录下创建medi 阅读全文
posted @ 2020-01-17 18:28 晨光曦微 阅读(2949) 评论(0) 推荐(0)
摘要: 【参考】https://blog.csdn.net/u010132177/article/details/103814357 【参考】https://docs.djangoproject.com/zh hans/3.0/intro/tutorial07/ customize the admin ch 阅读全文
posted @ 2020-01-17 15:26 晨光曦微 阅读(2325) 评论(0) 推荐(0)