上一页 1 ··· 6 7 8 9 10
摘要: 1.安装mongodb的py模块包 同时安装了mongoengine、pymongo 2.在项目配置文件settings.py中配置 3.简单应用 阅读全文
posted @ 2018-08-06 16:27 詹姆溪 阅读(3743) 评论(0) 推荐(0) 编辑
摘要: 1. 处理 input 的部件 TextInput NumberInput EmailInput URLInput PasswordInput HiddenInput DateInput DateTimeInput TimeInput Textarea 2. Selector 和 checkbox 阅读全文
posted @ 2018-08-03 12:49 詹姆溪 阅读(2890) 评论(0) 推荐(0) 编辑
摘要: 1.模板文件 2.静态文件 3.媒体文件 4.数据库配置 ps: 使用django-compressor压缩静态文件:https://www.cnblogs.com/skying555/p/5972735.html 阅读全文
posted @ 2018-08-02 13:56 詹姆溪 阅读(286) 评论(0) 推荐(0) 编辑
摘要: 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 詹姆溪 阅读(171) 评论(0) 推荐(0) 编辑
摘要: virtualenv virtualenv用于在一台机器上创建多个独立的python运行环境,可以解决: 1. 隔离项目之间的第三方包依赖 2.在没有权限的情况下安装新的Python软件包 除此之外,还有一个额外的好处:部署应用时,把开发环境的虚拟环境打包到生产环境即可。 1.安装 C:\pytho 阅读全文
posted @ 2018-05-30 00:37 詹姆溪 阅读(1249) 评论(0) 推荐(0) 编辑
摘要: 一.下载mongoDB安装包 安装地址:https://www.mongodb.com/download-center#community 二.安装mongoDB 安装比较简单,中间主要是选择“Custom”自定义 安装路径修改下:D:\mongo\,然后不断“下一步”,安装至结束 安装过程中,记得 阅读全文
posted @ 2018-05-23 08:59 詹姆溪 阅读(99) 评论(0) 推荐(0) 编辑
摘要: 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 詹姆溪 阅读(6707) 评论(0) 推荐(1) 编辑
摘要: 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 詹姆溪 阅读(12753) 评论(0) 推荐(0) 编辑
上一页 1 ··· 6 7 8 9 10