Browse Source

Update gevent wsgi

gevent.wsgi is deprecated since gevent 1.1 and removed in gevent 1.3. 
gevent.pywsgi should be used instead
pull/2793/head
Tiago Coutinho 7 years ago committed by GitHub
parent
commit
c853d11fc5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      docs/deploying/wsgi-standalone.rst

2
docs/deploying/wsgi-standalone.rst

@ -50,7 +50,7 @@ Gevent
`greenlet`_ to provide a high-level synchronous API on top of `libev`_ `greenlet`_ to provide a high-level synchronous API on top of `libev`_
event loop:: event loop::
from gevent.wsgi import WSGIServer from gevent.pywsgi import WSGIServer
from yourapplication import app from yourapplication import app
http_server = WSGIServer(('', 5000), app) http_server = WSGIServer(('', 5000), app)

Loading…
Cancel
Save