Skip to content

Instantly share code, notes, and snippets.

@inklesspen
Created June 24, 2009 23:04
Show Gist options
  • Save inklesspen/135577 to your computer and use it in GitHub Desktop.
Save inklesspen/135577 to your computer and use it in GitHub Desktop.
APP_CONFIG = "/path/to/production.ini"
from paste.deploy import loadapp
wsgi_app = loadapp("config:" + APP_CONFIG)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment