2012年3月31日
摘要: 之前讲过django的一些个东西,所以就不详细讲解了。主要说一下django是真怎使用已有数据库的(之前都是建立一个新的),还就是静态文件的问题,(setting部分)。 先把setting贴上来:View Code 1 # Django settings for CatchShow project. 2 import os.path 3 4 DEBUG = True 5 TEMPLATE_DEBUG = DEBUG 6 7 ADMINS = ( 8 # ('Your Name', 'your_email@example.com'), 9 ) 10 11... 阅读全文
posted @ 2012-03-31 15:43 duoduo3_69 阅读(1853) 评论(2) 推荐(6) 编辑
摘要: 额,早睡还不能早起,周六都要补课、、、 上一篇用BS分析好界面元素之后,将我们需要的信息放到一个info的list里面给返回来出来,方便期间,info包括这些东西## """ return 12 infos ## 1.title 2.limit des 3.problem des 4.input 5.output ## 6.sample input 7.sample output 8.hint 9.author ## 10.source 11.recommend 12.imgages## the last elemen... 阅读全文
posted @ 2012-03-31 09:29 duoduo3_69 阅读(1289) 评论(2) 推荐(2) 编辑