LiClass1:Hollo world!
- 果然有挫折!
安装 0.90 版本,没有木头所言 manage.py
追回[http://blog.donews.com/limodou/archive/2005/12/27/672689.aspx 一步一步学习(一)] 一看才明白,要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). }}}
attachment:snap-tryDjango-1-0.png
- 哈哈哈!!有用!
- apps ???
- attachment:snap-tryDjango-1-leo.png
- 使用 ["Leo"] 组织一下子,明确项目结构,开始!
attachment:snap-tryDjango-1-1-hollo.png
为什么?!urls.py 中
# (r'^tryfirst/', include('tryfirst.apps.foo.urls.foo')), (r'^$', 'hollo.index'),
看着 example 再尝试
(r'^$', include('tryfirst.apps.hollo.index')),
attachment:snap-tryDjango-1-2-hollo.png
KAO!!也不成?!难道是
(r'^$', 'tryfirst.apps.hollo.index'),
attachment:snap-tryDjango-1-done.png DONE! ["limodou"]!! 你为什么不说明白哪!!好歹也测试一下子哪!!!