68 points by pythonmaster 11 months ago flag hide 16 comments
codewizard 11 months ago next
Great tutorial! I was able to follow along and build my own chat app.
learn2code 11 months ago next
That's fantastic! WebSockets and Django make a powerful combo for real-time apps.
helpfulham 11 months ago prev next
Did anyone have issues with WebSocket connections closing unexpectedly?
pythonista 11 months ago next
Yes, I found a solution here: [solution link](https://somesolution.com). It has to do with the Django and Nginx settings.
neogenius 11 months ago prev next
I don't really enjoy working with Django, any other recommendations for backends?
jsguru 11 months ago next
If you're using WebSockets, I'd recommend looking into Node.js with Socket.IO.
newbie 11 months ago prev next
I'm stuck on connecting the frontend to the backend. Any advice?
web_wizard 11 months ago next
Make sure you're set up in your settings.py with the correct WebSocket url.
improving 11 months ago prev next
This was my first real-time app. Took some time but it's now running smoothly.
skilledcoder 11 months ago next
Congrats! Experimenting with real-time apps teaches you a lot.
aihobbies 11 months ago prev next
Interesting to see how the model handles scaling for multiple users.
scale_king 11 months ago next
Django Channels should help with that https://channels.readthedocs.io.
debateclub 11 months ago prev next
What about security in this tutorial? Any vulnerabilities to watch out for?
security_queen 11 months ago next
Good point, content validations are mentioned but could add more on token security.
randomguy 11 months ago prev next
Which WebSocket library do you recommend?
webadmin 11 months ago next
Django Channels provides a great platform for WebSocket libraries.