摘要: The 'r' in front of each regular expression string is optional but recommended. It tells Python that a string is “raw” – that nothing in the string should be escaped. See Dive Into Python’s explanati... 阅读全文
posted @ 2016-03-18 16:46 南湖鹄 阅读(168) 评论(0) 推荐(0) 编辑
摘要: API queries create, retrieve, update and delete 阅读全文
posted @ 2016-03-18 16:36 南湖鹄 阅读(117) 评论(0) 推荐(0) 编辑
摘要: Generally, each model maps to a single database table. Each attribute of the model represents a database field. Each attribute of the model represents a database field. manage.py startapp mymo... 阅读全文
posted @ 2016-03-18 16:09 南湖鹄 阅读(123) 评论(0) 推荐(0) 编辑
摘要: django.contrib.staticfiles settings.py django.contrib.staticfiles is included in your INSTALLED_APPS. STATIC_URL = '/static/' 阅读全文
posted @ 2016-03-16 17:24 南湖鹄 阅读(192) 评论(0) 推荐(0) 编辑
摘要: # Text file #response = HttpResponse(mimetype='text/plain') #response['Content-Disposition'] = 'attachment; filename=my.txt' #response.write("aa/n") #response.write("bb") 导出Excel def some_view(r... 阅读全文
posted @ 2016-03-16 13:46 南湖鹄 阅读(309) 评论(0) 推荐(0) 编辑
摘要: select t.*,rowid from Table t; 编辑器设置 阅读全文
posted @ 2016-03-16 09:02 南湖鹄 阅读(129) 评论(0) 推荐(0) 编辑
摘要: 软件: LINGO https://en.wikipedia.org/wiki/Linear_programming http://ampl.com/ 建议用Lingo 11,不受规模限制。Lingo 12及以上的免费版对最大规模有限制。excel限制于约束条件个数为100,变量为200matlab受限于写矩阵式 阅读全文
posted @ 2016-03-14 09:59 南湖鹄 阅读(163) 评论(0) 推荐(0) 编辑
摘要: JavaScript~ 1.隐藏 2.置灰 3.高亮 4.限定输入字数? 5. 阅读全文
posted @ 2016-03-07 17:39 南湖鹄 阅读(94) 评论(0) 推荐(0) 编辑
摘要: https://git-scm.com/ https://pages.github.com/ 1.建立repository. 2.settings 3.选模板 4.Publish http://username.github.io/repository. http://lynclynn.github 阅读全文
posted @ 2016-03-03 13:13 南湖鹄 阅读(99) 评论(0) 推荐(0) 编辑
摘要: 20160302 Excel,PDF 处理 GeoDjango学习:GIS编程,百度地图 Javascript 邮件系统 图像处理 阅读全文
posted @ 2016-03-02 13:30 南湖鹄 阅读(183) 评论(0) 推荐(0) 编辑