Skip to content

Commit 53e8ad1

Browse files
committed
Fix for code snippet in running.rst
Previously this raised AttributeError: 'module' object has no attribute 'socket'
1 parent ebb2e03 commit 53e8ad1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/running.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ and one for the WebSocket loop, say ``wsgi_websocket.py``
122122
.. code-block:: python
123123
124124
import os
125-
import gevent.monkey
125+
import gevent.socket
126126
import redis.connection
127127
redis.connection.socket = gevent.socket
128128
os.environ.update(DJANGO_SETTINGS_MODULE='my_app.settings')

0 commit comments

Comments
 (0)