May-09-2017, 11:18 AM
is there any socket io pakage for django python3, For chat application.
Python3 Django Socket IO Issue
|
May-09-2017, 11:18 AM
is there any socket io pakage for django python3, For chat application.
May-09-2017, 06:17 PM
socket.io is two different things with the same name. There's a javascript library which uses websockets if available, and falls back to long polling if it isn't available. Then there's a node.js library which is just a websocket server. So you could look for a "socket.io" package for django... or you could look for a django websocket library.
As it turns out, django has an official websocket library called "channels": https://github.com/django/channels/ Instead of figuring out how to butcher socket.io to work with django, you'd probably have a much more enjoyable time using channels instead. |
|
Possibly Related Threads… | |||||
Thread | Author | Replies | Views | Last Post | |
help on django issue | jip31 | 1 | 2,543 |
May-20-2021, 03:42 PM Last Post: jip31 |
|
Django: How to automatically substitute a variable in the admin page at Django 1.11? | m0ntecr1st0 | 3 | 4,571 |
Jun-30-2019, 12:21 AM Last Post: scidam |
|
Django Rest Framework URL issue | marcus | 0 | 2,956 |
Feb-07-2018, 10:31 PM Last Post: marcus |
|
Django with socket-io | charlesprince | 1 | 3,955 |
May-24-2017, 05:26 PM Last Post: Larz60+ |