[Web-SIG] about WSGI adoption

Phillip J. Eby pje at telecommunity.com
Sun Nov 18 23:51:54 CET 2007


At 09:03 PM 11/18/2007 +0100, Manlio Perillo wrote:
>Titus Brown ha scritto:
> > -> Thanks, very good guide.
> > ->
> > ->
> > -> However I still consider remarkable that there is not a 
> "trac.wsgi" script.
> > ->
> > -> Can this be caused by the lack of a standardized deployment of WSGI
> > -> applications?
> >
> > What would a trac.wsgi script contain?
>
>import trac.web.main
>
>application = trac.web.main.dispatch_request

What's the point of that, if it's already importable from trac.web.main?


>Right, but a WSGI server/gateway just needs a simple script to execute
>the WSGI application.

Or it can just import an object from a module.  No script needed.



More information about the Web-SIG mailing list