Can't use static files if I use evenlet/gevent with Django? #949
-
Hello everyone!. I am using python-socketio to develop a small online game, and I have decided that for convenience I will use django for the data models and ORM. I was having trouble detecting the disconnect event, and after reading some posts (754) I discovered that the problem was that I wasn't using the proper configuration to use sockets (previously I was just using the example configuration from the django example). I decide to install eventlet, and configure it. # on wsgi.py:
django_app = get_wsgi_application()
application = socketio.WSGIApp(sio, django_app)
import eventlet
eventlet.wsgi.server(eventlet.listen(('', 8000)), application)
After installing eventlet I got the disconnect event detected correctly, but now no static files (js scripts, css files, images, etc) are loaded. I've been looking for information but haven't found anything. Maybe I don't know what I'm looking for exactly. Could you give me some advice or tips to fix this? Regards, great job with this library, its amaizing. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
See #943 |
Beta Was this translation helpful? Give feedback.
See #943