March 10, 2010
PasteDeploy Application Factory for Django — twod.wsgi v1.0a2 documentation

And the following is a sample script for FastCGI:

from paste.deploy import loadapp  from flup.server.fcgi_fork import WSGIServer    app = loadapp("config:/path/to/your/config.ini")  WSGIServer(app).run()  

Sorry for making your deployment boring!

Posted via web from 原宿工業大学 | Comment »

PasteDeploy Application Factory for Django — twod.wsgi v1.0a2 documentation

Deployment

The following is a sample WSGI script for mod_wsgi:

from paste.deploy import loadapp    application = loadapp("config:/path/to/your/config.ini")  

Posted via web from 原宿工業大学 | Comment »