Skip to content

Instantly share code, notes, and snippets.

@andreypopp
Created June 28, 2010 12:02
Show Gist options
  • Save andreypopp/455755 to your computer and use it in GitHub Desktop.
Save andreypopp/455755 to your computer and use it in GitHub Desktop.
from gunicorn.app.base import Application
class MyApplication(Application):
def __init__(self, wsgi_app, **kw):
MyApplication.__init__(**kw)
self.callback = wsgi_app
from myapp import make_app
MyApplication(make_app()).run()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment