会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
ret
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
下一页
2020年3月16日
git安装
摘要: CentOS7安装git Ubuntu18.04安装git
阅读全文
posted @ 2020-03-16 10:52 ret
阅读(113)
评论(0)
推荐(0)
2020年3月15日
WSL忘记密码解决
摘要: ubuntu config default user root bash passwd root exit ubuntu config default user username
阅读全文
posted @ 2020-03-15 16:28 ret
阅读(1008)
评论(0)
推荐(0)
2020年3月4日
django使用内置user
摘要: 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)
django配置模板路径和静态文件路径
摘要: 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)
django配置数据库
摘要: 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)
2020年2月22日
CentOS7安装MySQL8
摘要: 卸载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)
2020年2月18日
2.快捷键
摘要: cmd
阅读全文
posted @ 2020-02-18 20:27 ret
阅读(83)
评论(0)
推荐(0)
1.cmd
摘要: 删除文件夹 py3_env 清屏 打开服务
阅读全文
posted @ 2020-02-18 20:24 ret
阅读(163)
评论(0)
推荐(0)
1.centos7
摘要: 更换yum源 网卡配置文件路径 命令 查看系统版本 查看ip 重启网络服务 安装软件 wget
阅读全文
posted @ 2020-02-18 20:19 ret
阅读(112)
评论(0)
推荐(0)
上一页
1
2
3
4
5
下一页
公告