摘要: 1.首先安装pyenv和virtualenvs,之前的博客有说安装过程2.创建Django专用的虚拟环境[root@localhost ~]# mkdir Django_env[root@localhost Django_env]# pyenv virtualenv 3.6.5 django_vir 阅读全文
posted @ 2018-07-10 10:34 InsideOut 阅读(328) 评论(0) 推荐(0) 编辑
摘要: 报错一:RuntimeError: You called this URL via POST, but the URL doesn't end in a slash and you have APPEND_SLASH set. Django can't redirect to the slash U 阅读全文
posted @ 2018-07-10 10:31 InsideOut 阅读(3100) 评论(0) 推荐(0) 编辑
摘要: 一、多行编辑进入visual block模式一般模式下Crtl+v组合键以块的形式选中待编辑的文本进入visual line模式一般模式下大写V以行的形式选中待编辑的文本上述两种模式的复制用y,删除用d,粘贴用p二、多文件编辑同时打开两个文件vim file_a file_b一般模式下进入visua 阅读全文
posted @ 2018-07-10 10:30 InsideOut 阅读(188) 评论(0) 推荐(0) 编辑
摘要: yum参数解释[updates] >源name=CentOS-$releasever - Updates >源的名字baseurl=http://mirror.centos.org/centos/$releasever/updates/$basearch/ >该源的http地址gpgcheck=1g 阅读全文
posted @ 2018-07-10 10:29 InsideOut 阅读(255) 评论(0) 推荐(0) 编辑