Build Realtime Chat App with Django Channels & Web Sockets

Learn how to build a real-time chatting website using Django Channels and WebSockets in this comprehensive tutorial. Follow along as we explore the powerful Django framework, implement Django Channels to enable WebSocket communication, and create a dynamic chat application. **** Resources **** Github repo: HTML files: **** Timestamps **** 0:00 Intro & Demo 2:36 Project Setup 6:11 What are web sockets? 15:20 Creating Models 19:22 Template Files 20:10 Creating Necessary Views 21:05 Mapping Views To Urls 25:24 Creating Chat Rooms 33:05 Redirecting to Chat Room 35:30 Message View(Chat Room View) 41:00 Creating Consumers 43:10 Connect Method For Consumers 44:12 Disconnect Method For Consumers 44:58 Routing Consumer To Url 47:48 Register urls in 50:34 Add configurations to 53:18 Creating a web socket 58:20 Web socket connection event handlers 1:01:38 Event listener for sending messages 1:07:10 Consumer methods to receive & send messages 1:22:52 Socket event listener for server response 1:32:45 Testing the code! ******** Socials ******** Discord: Patreon: Linkedin: Instagram: Telegram channel: Twitter: #WebDevelopment #Python #ChatApplication #DjangoTutorial #DjangoFramework #PythonWebDevelopment #RealTimeChat #WebSocketTutorial #DjangoChatApp #CodingTutorial #PythonProgramming #WebSocketsInPython“
В начало