摘要: CentOS7安装git Ubuntu18.04安装git 阅读全文
posted @ 2020-03-16 10:52 ret 阅读(113) 评论(0) 推荐(0)
摘要: ubuntu config default user root bash passwd root exit ubuntu config default user username 阅读全文
posted @ 2020-03-15 16:28 ret 阅读(1008) 评论(0) 推荐(0)
摘要: models.py from django.contrib.auth.models import AbstractBaseUser,PermissionsMixin,BaseUserManager from shortuuidfield import ShortUUIDField from djan 阅读全文
posted @ 2020-03-04 17:30 ret 阅读(216) 评论(0) 推荐(0)
摘要: TEMPLATES = [ { 'DIRS': [os.path.join(BASE_DIR, 'front', 'templates')], 'OPTIONS': { 'builtins':[ 'django.templatetags.static' ] }, }, ] STATICFILES_D 阅读全文
posted @ 2020-03-04 10:49 ret 阅读(286) 评论(0) 推荐(0)
摘要: DATABASES = { 'default': { 'ENGINE': 'django.db.backends.sqlite3', 'NAME': os.path.join(BASE_DIR, 'db.sqlite3'), } } 阅读全文
posted @ 2020-03-04 10:46 ret 阅读(127) 评论(0) 推荐(0)
摘要: 卸载mariadb 1. 解压 1. 安装 1. 初始化、授权和开启mysql服务 1. 查看root初始密码, 登录修改密码 1. 允许远程连接 阅读全文
posted @ 2020-02-22 09:39 ret 阅读(87) 评论(0) 推荐(0)
摘要: 查 查看已有数据库 查看创建数据库scott的语句 增 创建数据库scott 创建数据库scott, 同时指定字符集UTF8 创建数据库scott, 同时指定字符集UTF8, 已存在时不报错 创建数据库scott, 同时指定字符集UTF8, 指定插入时按UTF8检查 改 修改数据库scott字符集为 阅读全文
posted @ 2020-02-22 08:45 ret 阅读(120) 评论(0) 推荐(0)
摘要: cmd 阅读全文
posted @ 2020-02-18 20:27 ret 阅读(83) 评论(0) 推荐(0)
摘要: 删除文件夹 py3_env 清屏 打开服务 阅读全文
posted @ 2020-02-18 20:24 ret 阅读(163) 评论(0) 推荐(0)
摘要: 更换yum源 网卡配置文件路径 命令 查看系统版本 查看ip 重启网络服务 安装软件 wget 阅读全文
posted @ 2020-02-18 20:19 ret 阅读(112) 评论(0) 推荐(0)