From c853d11fc508d46df3c59aa5edf6d2389a7da8b7 Mon Sep 17 00:00:00 2001 From: Tiago Coutinho Date: Mon, 21 May 2018 08:10:16 +0200 Subject: [PATCH] Update gevent wsgi gevent.wsgi is deprecated since gevent 1.1 and removed in gevent 1.3. gevent.pywsgi should be used instead --- docs/deploying/wsgi-standalone.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/deploying/wsgi-standalone.rst b/docs/deploying/wsgi-standalone.rst index 5b0740a6..1ffa71ff 100644 --- a/docs/deploying/wsgi-standalone.rst +++ b/docs/deploying/wsgi-standalone.rst @@ -50,7 +50,7 @@ Gevent `greenlet`_ to provide a high-level synchronous API on top of `libev`_ event loop:: - from gevent.wsgi import WSGIServer + from gevent.pywsgi import WSGIServer from yourapplication import app http_server = WSGIServer(('', 5000), app)