Created
June 28, 2010 12:02
-
-
Save andreypopp/455755 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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