Skip to content

Commit

Permalink
minor improvements to django example
Browse files Browse the repository at this point in the history
  • Loading branch information
miguelgrinberg committed May 31, 2017
1 parent 3531b51 commit 1ecbf5b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 8 additions & 0 deletions examples/wsgi/django_example/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
Django==1.11.1
enum-compat==0.0.2
eventlet==0.21.0
greenlet==0.4.12
python-engineio
python-socketio
pytz==2017.2
six==1.10.0
2 changes: 1 addition & 1 deletion examples/wsgi/django_example/socketio_app/views.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# set async_mode to 'threading', 'eventlet', 'gevent' or 'gevent_uwsgi' to
# force a mode else, the best mode is selected automatically from what's
# installed
async_mode = 'threading'
async_mode = None

import os

Expand Down

0 comments on commit 1ecbf5b

Please sign in to comment.