- 博客(7)
- 收藏
- 关注
原创 CMS学习 --- joomla数据库表结构
Joomla系统的数据库表一共35张表,这里解释一下每个表对应的大概功能,留作参考(排名不分先后:-))1.jos_bannar/jos_bannarclient/jos_bannarfinish此三张表对应的组件为com_bannar,分别为广告条表/广告客户表/已到期的广告表.bannar广告的管理对应这里三张表.2.
2016-06-24 07:20:59
2102
原创 Git Bash 配置与使用
config:$ git config --global user.name "yourName"$ git config --global user.email "yourEmail@.com"get the repo:git clone https://github.com/wzshenn/flaskWebget into the repo:cd
2016-06-19 00:37:01
2617
1
原创 flask + MongoDB 学习笔记(3):Register & Hashpassword & Login & Logout
Hashpassword:import bcrypthashpass = bcrypt.hashpw(request.form['password'].encode('utf-8'),bcrypt.gensalt())需要encode('UTF-8') 不然可能报错Register:@app.route('/register', method
2016-05-28 12:40:12
771
原创 flask + MongoDB 学习笔记 (-1): 个人用记录
使用local MongoDB设置dbpath:E:\Program\MongoDB\bin>mongod --dbpath=E:\Program\mongoData激活venvvenv\Scripts\activate
2016-05-28 12:37:50
708
原创 flask + MongoDB 学习笔记: Exceptions, Errors and Solutions
The browser (or proxy) sent a request that this server could not understand异常原因:POST方法所需求的名字不在HTML里e.g. entry_title = request.form['tit']解决方案:名字保持一致 e.g.entry_title = request.for
2016-05-28 12:27:14
600
原创 flask + MongoDB 学习笔记(2):增改删查数据库
增加数据@app.route('/add')def add():user = mongo.db.usersuser.insert({'username':'Bill' , 'password':'1111'})return 'Added User!'查找数据@app.route('/find')def find():user = mongo.db.use
2016-05-23 23:20:33
2090
原创 flask + MongoDB 学习笔记(1) : MongoDB配置和使用
MongoDB (ver 3.2.5) 配置 (windows)1. 下载2.新建放数据的文件夹 并在在cmd中设置 dbpathe.g. mkdir E:\Program\mongoDate //创建date fileE:\Program\MongoDB\bin>mongod --dbpath=E:\Program\mongoDate进入Mongo
2016-05-23 06:59:22
4248
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人