LiClass1:Hollo world!
- 果然有挫折!
安装 0.90 版本,没有木头所言 manage.py
追回一步一步学习(一) 一看才明白,要SVN Trunk版本的!呜乎哀哉!你怎么不说清楚哪!
{{{[F:\zDevelop\_Zoomq\Django\tryfirst]py manage.py runserver Validating models... 0 errors found.
Starting server on port 8000 with settings module 'tryfirst.settings'. Go to http://127.0.0.1:8000/ for Django. Quit the server with CONTROL-C (Unix) or CTRL-BREAK (Windows). }}}
- 哈哈哈!!有用!
- apps ???
使用 Leo 组织一下子,明确项目结构,开始!
为什么?!urls.py 中
# (r'^tryfirst/', include('tryfirst.apps.foo.urls.foo')), (r'^$', 'hollo.index'),
看着 example 再尝试
(r'^$', include('tryfirst.apps.hollo.index')),
KAO!!也不成?!难道是
(r'^$', 'tryfirst.apps.hollo.index'),
DONE! limodou!! 你为什么不说明白哪!!好歹也测试一下子哪!!!
小节
初体验,感觉 Django 的调试信息比KarriGell 还要漂亮哪!! 写应用页面变成了一个应用插件的注册过程,嗯嗯,有些向官僚式的八股文写作了,好!是俺组织标准化KarriGell web 应用的一种示范!