自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(7)
  • 收藏
  • 关注

原创 CMS学习 --- joomla数据库表结构

Joomla系统的数据库表一共35张表,这里解释一下每个表对应的大概功能,留作参考(排名不分先后:-))1.jos_bannar/jos_bannarclient/jos_bannarfinish此三张表对应的组件为com_bannar,分别为广告条表/广告客户表/已到期的广告表.bannar广告的管理对应这里三张表.2.

2016-06-24 07:20:59 1984

原创 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 2569 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 747

原创 flask + MongoDB 学习笔记 (-1): 个人用记录

使用local MongoDB设置dbpath:E:\Program\MongoDB\bin>mongod --dbpath=E:\Program\mongoData激活venvvenv\Scripts\activate

2016-05-28 12:37:50 675

原创 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 561

原创 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 2059

原创 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 4226

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除