Direct Messages in Django
Learn how to create synchronous slack-inspired message channels and private messages using Django.
Lessons
1
Introduction
0:19
2
Walkthrough
0:00
3
Requirements
1:28
4
Base Django Project in VS Code
5:17
5
DM App and Abstract Base Model
4:12
6
Message Model Class & Migrations
3:26
7
The Channel Model
7:59
8
Two User Channel Lookup
4:15
9
Channel Lookup TestCase
9:00
10
The Channel Model in the Admin
6:12
11
Private Message View
11:59
12
Get or Create Private Channel
7:21
13
Function Based View to Class Based View
3:28
14
Templates & Our View
9:54
15
My Private Channel View
5:42
16
Multi-User Channel View
7:27
17
URL Regex for UUID Primary Key
4:36
18
Channel Message Form
11:25
19
AJAX with XMLHttpRequest
18:37
20
Simple UI & CSS In Channel
10:50
21
Request Permission to Channel
0:00
22
Create new Channel
0:00
23
Channel Signals
0:00
24
Unread Messages in Channel
0:00
25
Thank you and next steps
0:00