It's sort of a lenghty writeup, so I put it here:
http://barskdata.net/files/investigate-wsgi.html
But basically it is like this:
application = cherrypy.Application(LazyInventory(), script_name=None,
config=config)
where class LazyInventory(object) is like this (manually indented
here)
@cherrypy.expose
def index(self):
print >> sys.stderr, 'index should redirect to dashboard'
data = {
'redirect':"/dashboard",
}
# redirect to dashboard
raise cherrypy.HTTPRedirect(data['redirect'])
My index method never gets called - browser just says connecting
--
You received this message because you are subscribed to the Google Groups
"modwsgi" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/modwsgi?hl=en.