#def application(environ, start_response):
# status = '200 OK'
# output = 'Hello World!'
# response_headers = [('Content-type', 'text/plain'),
# ('Content-Length', str(len(output)))]
# start_response(status, response_headers)
# return [output]
WORKING_ENV = "/home/mkh"
APP_CONFIG = "/home/mkh/main/config.ini"
import activate_workingenv
activate_workingenv.activate_workingenv(WORKING_ENV)
from paste.deploy import loadapp
application = loadapp("config:" + APP_CONFIG)
--
You received this message because you are subscribed to the Google Groups
"pylons-discuss" 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/pylons-discuss?hl=en.