2005年07月19日 星期二 08:39
原文: 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
Zeuux © 2025
京ICP备05028076号