摘要: 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) 编辑