Twisted.web, WSGI and Django

W00t!

Now this is fun, I think I just said 'adios' to Apache (for the time being, anyway). Thanks to this post I just married my django site with twisted.

# web.application means 'web.py'
twistd -no web --wsgi=web.application

Couple that with node.js reverse proxy and I'm one happy dude.

Fun fun!

[edit]

# bind to local interface
twistd -no web --wsgi=web.application --port tcp:interface=127.0.0.1:port=8080 --logfile=foo.log

Posted

Apr 26, 2011
by AnonymousUser

Categories

General Posts