crifan 9年前 (2016-08-24) 4911浏览
折腾:
[记录]给iOS的Charts库的demo去打包成AdHoc的ipa
期间,去archive: 结果打包失败了: Check dependencies
CodeSign error: code signing is required ...
crifan 9年前 (2016-08-24) 3203浏览
之前从:
danielgindi/Charts: Beautiful charts for iOS/tvOS/OSX! The Apple side of the crossplatform MPAndroidChart.
下载下来的demo:
co...
crifan 9年前 (2016-08-24) 4109浏览
Flask中创建数据库
对于: headimgurl = db.Column(db.String(256))
user_limit = db.Column(db.Integer) 想要统一命名规则
是驼峰法还是下划线法
数...
crifan 9年前 (2016-08-24) 6509浏览
在PyCharm中编辑文件: 想要实现:
用快捷键:
移动到文件顶部,最开始
移动到文件尾部,最末尾
注:
之前用普通编辑器,比如Sublime,是可以通过:
Command+向上
Command+向下
实现移动到文件顶部和末尾的。
但是PyCha...
crifan 9年前 (2016-08-24) 20322浏览
已有静态页面,需要将其整合到Flask的项目中,需要搞清楚,之前的html中的: <link rel="stylesheet" href="css/framework7.ios.css">
&...
crifan 9年前 (2016-08-24) 3703浏览
折腾:
[已解决]Flask中app.logger.debug出错:UnicodeEncodeError ascii codec can’t encode characters in position 59-68 ordinal not ...
crifan 9年前 (2016-08-24) 4703浏览
之前用Flask的logger的debug函数: currentEvents= Event.query.all()
app.logger.debug(‘currentEvents=%s’, currentEvents)
...
crifan 9年前 (2016-08-24) 7139浏览
Flask的SQLAlchemy的数据库,去定义为: class User(db.Model):
__tablename__ = ‘wechat_users’ # Columns
openid ...
crifan 9年前 (2016-08-23) 2126浏览
1.基本的用法:
选择(Select),插入(Insert), 删除(Delete) — Flask-SQLAlchemy 2.0 documentation
英文:
Select, Insert, Delete — Flask-SQLAlchemy...
crifan 9年前 (2016-08-23) 2501浏览
之前已经可以实现基本的数据库的字段了:
定义: #!/usr/bin/python
# -*- coding: UTF-8 -*- from sipevents import app
from . import db
# from app i...