Python论坛  - 讨论区

标题:[python-chinese] [FW]Django without mod_python, and WSGI support

2005年07月19日 星期二 08:39

limodou limodou at gmail.com
Tue Jul 19 08:39:42 HKT 2005

原文: http://www.djangoproject.com/weblog/2005/jul/18/local_server/

We've gotten a lot of feedback from developers who want to explore
Django but don't want to go through the hassle of installing
mod_python.

OK, we've got that covered.

Just "svn update" your code, and run the command django-admin.py
runserver. That'll start a lightweight Web server running on your
local machine, so you can jump right in and play.

I've updated part 2 of the tutorial to use this new method, instead of
mod_python. Of course, note that this new Web server should be used
only for development purposes.

On a broader note, Django is now compliant with the WSGI spec. That
means it should be able to run on any WSGI-friendly server --
lighttpd, FCGI, SCGI, etc.

And that's where you come in. Prefer a particular server over
Apache/mod_python? Get Django working on it, and, when you do, file a
ticket telling us how you did it. We'll update this site to add your
instructions.

The WSGI handler is in django/core/handlers/wsgi.py


-- 
I like python! 
My Donews Blog: http://www.donews.net/limodou
New Google Maillist: http://groups-beta.google.com/group/python-cn

[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]

如下红色区域有误,请重新填写。

    你的回复:

    请 登录 后回复。还没有在Zeuux哲思注册吗?现在 注册 !

    Zeuux © 2025

    京ICP备05028076号