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