⇤ ← Revision 1 as of 2005-12-31 06:55:44
Size: 1290
Comment:
|
Size: 1565
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 1: | Line 1: |
= LiClass1:Hollo world! = | == LiClass1:Hollo world! == |
Line 34: | Line 34: |
=== 小节 === 初体验,感觉 Django 的调试信息比KarriGell 还要漂亮哪!! 写应用页面变成了一个应用插件的注册过程,嗯嗯,有些向官僚式的八股文写作了,好!是俺组织标准化KarriGell web 应用的一种示范! |
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"]!! 你为什么不说明白哪!!好歹也测试一下子哪!!!
小节
初体验,感觉 Django 的调试信息比KarriGell 还要漂亮哪!! 写应用页面变成了一个应用插件的注册过程,嗯嗯,有些向官僚式的八股文写作了,好!是俺组织标准化KarriGell web 应用的一种示范!