导航

04 2016 档案

摘要:在需要使用angularjs标签的地方套上verbatim标签,如: 阅读全文

posted @ 2016-04-30 19:49 网名还没想好 阅读(146) 评论(0) 推荐(0)

摘要:备份原主机数据库 pg_dump -U <UserName> -p <PortNum> <DBName> > <BackupFile> 命令执行结束后生成一个SQL文件,里面包含了建表语句、数据插入语句以及设置序列起始值语句等。 导入数据到新主机 psql -U <UserName> -p <Por 阅读全文

posted @ 2016-04-28 19:41 网名还没想好 阅读(224) 评论(0) 推荐(0)

摘要:比如 {%if a=='y'%}错误,{%if a =='y'%}也是错误的 只能是{%if a == 'y'%}这样才行 阅读全文

posted @ 2016-04-25 17:23 网名还没想好 阅读(307) 评论(0) 推荐(0)

摘要:def test_file_download(request): wb = export_to_xls() response = HttpResponse() response['Content-Type'] = 'application/octet-stream' response['Conten 阅读全文

posted @ 2016-04-18 16:57 网名还没想好 阅读(317) 评论(0) 推荐(0)

摘要:https://segmentfault.com/a/1190000000606752 阅读全文

posted @ 2016-04-17 17:56 网名还没想好 阅读(195) 评论(0) 推荐(0)

摘要:http://my.oschina.net/jackieyeah/blog/524583 阅读全文

posted @ 2016-04-15 01:37 网名还没想好 阅读(160) 评论(0) 推荐(0)

摘要:http://michal.karzynski.pl/blog/2013/07/14/using-redis-as-django-session-store-and-cache-backend/ 阅读全文

posted @ 2016-04-13 15:43 网名还没想好 阅读(130) 评论(0) 推荐(0)

摘要:http://news.oneapm.com/celery-redis/ 阅读全文

posted @ 2016-04-09 14:37 网名还没想好 阅读(124) 评论(0) 推荐(0)

摘要:http://jingyan.baidu.com/article/e4d08ffdb3ff090fd2f60d28.html 阅读全文

posted @ 2016-04-08 13:30 网名还没想好 阅读(115) 评论(0) 推荐(0)