Differences between revisions 1 and 2
Revision 1 as of 2005-12-31 06:55:44
Size: 1290
Editor: ZoomQuiet
Comment:
Revision 2 as of 2005-12-31 07:01:24
Size: 1565
Editor: ZoomQuiet
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!

{{{[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 ???
    1. attachment:snap-tryDjango-1-leo.png
    2. 使用 ["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 应用的一种示范!

DjangoLiClass1 (last edited 2009-12-25 07:10:31 by localhost)