2015年1月24日
摘要: from django.db.models import get_model; get_model('auth', 'User') 阅读全文
posted @ 2015-01-24 23:25 琣厵 阅读(2184) 评论(0) 推荐(0) 编辑
摘要: shell 中显示当前的日期 [root@localhost]$ date '+%Y-%m-%d %H:%M:%S' 2015-01-19 16:24:58把javascript 中的Date object 格式化成适合的字符串,很不方便,模拟shell中的格式下面先用3段简单的代码来说明模拟函数中... 阅读全文
posted @ 2015-01-24 23:18 琣厵 阅读(696) 评论(0) 推荐(0) 编辑
摘要: pip 安装 lxml , 提示gcc failed, 一般是libxslt-devel没有安装 阅读全文
posted @ 2015-01-24 23:16 琣厵 阅读(429) 评论(0) 推荐(0) 编辑