会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
詹姆溪
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
6
7
8
9
10
2018年8月6日
django使用mongodb建表
摘要: 1.安装mongodb的py模块包 同时安装了mongoengine、pymongo 2.在项目配置文件settings.py中配置 3.简单应用
阅读全文
posted @ 2018-08-06 16:27 詹姆溪
阅读(3773)
评论(0)
推荐(0)
2018年8月3日
django中widget小部件
摘要: 1. 处理 input 的部件 TextInput NumberInput EmailInput URLInput PasswordInput HiddenInput DateInput DateTimeInput TimeInput Textarea 2. Selector 和 checkbox
阅读全文
posted @ 2018-08-03 12:49 詹姆溪
阅读(2952)
评论(0)
推荐(0)
2018年8月2日
django配置templates、static、media和连接mysql数据库
摘要: 1.模板文件 2.静态文件 3.媒体文件 4.数据库配置 ps: 使用django-compressor压缩静态文件:https://www.cnblogs.com/skying555/p/5972735.html
阅读全文
posted @ 2018-08-02 13:56 詹姆溪
阅读(304)
评论(0)
推荐(0)
2018年5月30日
python虚拟环境virtualenv下安装MySQL-python
摘要: 1.先在windows安装:https://github.com/konglingxi/mysqldb_for_python27 2.按照提示将python主环境中的mysqldb相关文件及文件夹移到虚拟环境:https://blog.csdn.net/qq_34146899/article/det
阅读全文
posted @ 2018-05-30 11:40 詹姆溪
阅读(185)
评论(0)
推荐(0)
python虚拟环境virtualenv
摘要: virtualenv virtualenv用于在一台机器上创建多个独立的python运行环境,可以解决: 1. 隔离项目之间的第三方包依赖 2.在没有权限的情况下安装新的Python软件包 除此之外,还有一个额外的好处:部署应用时,把开发环境的虚拟环境打包到生产环境即可。 1.安装 C:\pytho
阅读全文
posted @ 2018-05-30 00:37 詹姆溪
阅读(1271)
评论(0)
推荐(0)
2018年5月23日
安装mongoDB
摘要: 一.下载mongoDB安装包 安装地址:https://www.mongodb.com/download-center#community 二.安装mongoDB 安装比较简单,中间主要是选择“Custom”自定义 安装路径修改下:D:\mongo\,然后不断“下一步”,安装至结束 安装过程中,记得
阅读全文
posted @ 2018-05-23 08:59 詹姆溪
阅读(118)
评论(0)
推荐(0)
2018年5月22日
thinkphp5使用redis
摘要: 1.设置应用配置文件config.php type可以是很多分类File、Redis等等 2.thinkphp5使用redis新建application/index/controller/index.php 3.前端显示新建application/index/view/index.html 输出kl
阅读全文
posted @ 2018-05-22 08:53 詹姆溪
阅读(6766)
评论(0)
推荐(1)
2018年5月21日
php开启redis扩展
摘要: 1.安装redis git下载地址https://github.com/MSOpenTech/redis/releases 2.测试redis windows 运行(快捷键:windows键+R键),输入【cmd】命令,进入DOC操作系统窗口; 进入redis安装目录使用命令 2.1开启redis守
阅读全文
posted @ 2018-05-21 17:55 詹姆溪
阅读(12789)
评论(0)
推荐(0)
上一页
1
···
6
7
8
9
10
公告