Part 4 - Sending messages - Django Chat App - Realtime Chat Tutorial - Tailwind CSS

Use Python Django and Tailwind CSS to build a real time chat application. This is part 4 of 4, and in this part we are going to make it possible to send and receive messages.

We also create a new database model to store the messages.

Comments

EFSArCBy | Jul 02, 26 11:36

555

EFSArCBy | Jul 02, 26 11:37

555

EFSArCBy | Jul 02, 26 11:37

555

EFSArCBy | Jul 02, 26 11:37

-1 OR 2+244-244-1=0+0+0+1 --

EFSArCBy | Jul 02, 26 11:37

-1 OR 2+458-458-1=0+0+0+1

EFSArCBy | Jul 02, 26 11:37

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

EFSArCBy | Jul 02, 26 11:37

-1' OR 2+380-380-1=0+0+0+1 or 'rHIfUmzo'='

EFSArCBy | Jul 02, 26 11:37

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

EFSArCBy | Jul 02, 26 11:37

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

EFSArCBy | Jul 02, 26 11:37

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

EFSArCBy | Jul 02, 26 11:37

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

EFSArCBy | Jul 02, 26 11:37

(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 11:37

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

EFSArCBy | Jul 02, 26 11:37

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

EFSArCBy | Jul 02, 26 11:37

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

EFSArCBy | Jul 02, 26 11:37

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

EFSArCBy | Jul 02, 26 11:37

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

EFSArCBy | Jul 02, 26 11:37

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

EFSArCBy | Jul 02, 26 11:37

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

EFSArCBy | Jul 02, 26 11:37

555AeOnmIvs' OR 723=(SELECT 723 FROM PG_SLEEP(15))--

EFSArCBy | Jul 02, 26 11:37

555kxmRnYFh') OR 837=(SELECT 837 FROM PG_SLEEP(15))--

EFSArCBy | Jul 02, 26 11:37

5550QQYQL2T')) OR 420=(SELECT 420 FROM PG_SLEEP(15))--

EFSArCBy | Jul 02, 26 11:37

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

EFSArCBy | Jul 02, 26 11:37

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

EFSArCBy | Jul 02, 26 11:37

555

EFSArCBy | Jul 02, 26 11:37

555'"

EFSArCBy | Jul 02, 26 11:37

@@gv9Of

EFSArCBy | Jul 02, 26 11:37

555

EFSArCBy | Jul 02, 26 11:37

555

EFSArCBy | Jul 02, 26 11:37

555

EFSArCBy | Jul 02, 26 11:37

555

EFSArCBy | Jul 02, 26 11:37

555

EFSArCBy | Jul 02, 26 11:37

555

EFSArCBy | Jul 02, 26 11:37

555

EFSArCBy | Jul 02, 26 11:37

555

EFSArCBy | Jul 02, 26 11:37

555

EFSArCBy | Jul 02, 26 11:37

555

EFSArCBy | Jul 02, 26 11:37

555

EFSArCBy | Jul 02, 26 11:37

555

EFSArCBy | Jul 02, 26 11:37

555

EFSArCBy | Jul 02, 26 11:37

555

EFSArCBy | Jul 02, 26 11:37

555

EFSArCBy | Jul 02, 26 11:37

555

EFSArCBy | Jul 02, 26 11:37

555

EFSArCBy | Jul 02, 26 11:37

555

EFSArCBy | Jul 02, 26 11:37

555

EFSArCBy | Jul 02, 26 11:37

555

EFSArCBy | Jul 02, 26 11:37

555

EFSArCBy | Jul 02, 26 11:37

555

EFSArCBy | Jul 02, 26 11:37

555

EFSArCBy | Jul 02, 26 11:37

555

-1 OR 2+736-736-1=0+0+0+1 -- | Jul 02, 26 11:37

555

-1 OR 2+47-47-1=0+0+0+1 | Jul 02, 26 11:37

555

-1' OR 2+819-819-1=0+0+0+1 -- | Jul 02, 26 11:37

555

-1' OR 2+782-782-1=0+0+0+1 or 'xo07LBIO'=' | Jul 02, 26 11:37

555

-1" OR 2+427-427-1=0+0+0+1 -- | Jul 02, 26 11:37

555

if(now()=sysdate(),sleep(15),0) | Jul 02, 26 11:37

555

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

555

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

555

EFSArCBy-1 waitfor delay '0:0:15' -- | Jul 02, 26 11:37

555

EFSArCByKH8HHhgT'; waitfor delay '0:0:15' -- | Jul 02, 26 11:37

555

EFSArCByIkuaxa5e' OR 190=(SELECT 190 FROM PG_SLEEP(15))-- | Jul 02, 26 11:37

555

EFSArCByOHe12Bea') OR 507=(SELECT 507 FROM PG_SLEEP(15))-- | Jul 02, 26 11:37

555

EFSArCBy4oPQJmoJ')) OR 913=(SELECT 913 FROM PG_SLEEP(15))-- | Jul 02, 26 11:37

555

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

555

EFSArCBy | Jul 02, 26 11:37

555

EFSArCBy'" | Jul 02, 26 11:37

555

@@TyPrk | Jul 02, 26 11:37

555

EFSArCBy | Jul 02, 26 11:37

555

EFSArCBy | Jul 02, 26 11:37

555

EFSArCBy | Jul 02, 26 11:37

555

EFSArCBy | Jul 02, 26 11:37

555

EFSArCBy | Jul 02, 26 11:37

555

EFSArCBy | Jul 02, 26 11:37

555

EFSArCBy | Jul 02, 26 11:37

555

EFSArCBy | Jul 02, 26 11:37

555

EFSArCBy | Jul 02, 26 11:37

555

EFSArCBy | Jul 02, 26 11:37

555

EFSArCBy | Jul 02, 26 11:37

555

EFSArCBy | Jul 02, 26 11:37

555

EFSArCBy | Jul 02, 26 11:37

555

EFSArCBy | Jul 02, 26 11:37

555

EFSArCBy | Jul 02, 26 11:37

555

EFSArCBy | Jul 02, 26 11:37

555

EFSArCBy | Jul 02, 26 11:37

555

EFSArCBy | Jul 02, 26 11:37

555

EFSArCBy | Jul 02, 26 11:37

555

EFSArCBy | Jul 21, 26 12:32

555

EFSArCBy | Jul 21, 26 12:32

555

EFSArCBy | Jul 21, 26 12:32

555

EFSArCBy | Jul 21, 26 12:32

-1 OR 2+30-30-1=0+0+0+1 --

EFSArCBy | Jul 21, 26 12:32

-1 OR 2+84-84-1=0+0+0+1

EFSArCBy | Jul 21, 26 12:32

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

EFSArCBy | Jul 21, 26 12:32

-1' OR 2+82-82-1=0+0+0+1 or '4KpOcchZ'='

EFSArCBy | Jul 21, 26 12:32

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

EFSArCBy | Jul 21, 26 12:32

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

EFSArCBy | Jul 21, 26 12:32

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

EFSArCBy | Jul 21, 26 12:32

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

EFSArCBy | Jul 21, 26 12:32

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

EFSArCBy | Jul 21, 26 12:32

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

EFSArCBy | Jul 21, 26 12:32

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

EFSArCBy | Jul 21, 26 12:32

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

EFSArCBy | Jul 21, 26 12:32

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

EFSArCBy | Jul 21, 26 12:32

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

EFSArCBy | Jul 21, 26 12:32

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

EFSArCBy | Jul 21, 26 12:32

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

EFSArCBy | Jul 21, 26 12:32

555slDDyWmd' OR 601=(SELECT 601 FROM PG_SLEEP(15))--

EFSArCBy | Jul 21, 26 12:32

555BwwR91oT') OR 379=(SELECT 379 FROM PG_SLEEP(15))--

EFSArCBy | Jul 21, 26 12:32

555Dn8IUZPC')) OR 226=(SELECT 226 FROM PG_SLEEP(15))--

EFSArCBy | Jul 21, 26 12:32

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

EFSArCBy | Jul 21, 26 12:33

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

EFSArCBy | Jul 21, 26 12:33

555

EFSArCBy | Jul 21, 26 12:33

555'"

EFSArCBy | Jul 21, 26 12:33

@@urxg1

EFSArCBy | Jul 21, 26 12:33

555

EFSArCBy | Jul 21, 26 12:33

555

EFSArCBy | Jul 21, 26 12:33

555

EFSArCBy | Jul 21, 26 12:33

555

EFSArCBy | Jul 21, 26 12:33

555

EFSArCBy | Jul 21, 26 12:33

555

EFSArCBy | Jul 21, 26 12:33

555

EFSArCBy | Jul 21, 26 12:33

555

EFSArCBy | Jul 21, 26 12:33

555

EFSArCBy | Jul 21, 26 12:33

555

EFSArCBy | Jul 21, 26 12:33

555

EFSArCBy | Jul 21, 26 12:33

555

EFSArCBy | Jul 21, 26 12:33

555

EFSArCBy | Jul 21, 26 12:33

555

EFSArCBy | Jul 21, 26 12:33

555

EFSArCBy | Jul 21, 26 12:33

555

EFSArCBy | Jul 21, 26 12:33

555

EFSArCBy | Jul 21, 26 12:33

555

EFSArCBy | Jul 21, 26 12:33

555

EFSArCBy | Jul 21, 26 12:33

555

EFSArCBy | Jul 21, 26 12:33

555

EFSArCBy | Jul 21, 26 12:33

555

EFSArCBy | Jul 21, 26 12:33

555

EFSArCBy | Jul 21, 26 12:33

555

-1 OR 2+899-899-1=0+0+0+1 -- | Jul 21, 26 12:33

555

-1 OR 2+717-717-1=0+0+0+1 | Jul 21, 26 12:33

555

-1' OR 2+252-252-1=0+0+0+1 -- | Jul 21, 26 12:33

555

-1' OR 2+387-387-1=0+0+0+1 or 'DNSQI1Rb'=' | Jul 21, 26 12:33

555

-1" OR 2+738-738-1=0+0+0+1 -- | Jul 21, 26 12:33

555

if(now()=sysdate(),sleep(15),0) | Jul 21, 26 12:33

555

EFSArCBy0'XOR(if(now()=sysdate(),sleep(15),0))XOR'Z | Jul 21, 26 12:33

555

EFSArCBy0"XOR(if(now()=sysdate(),sleep(15),0))XOR"Z | Jul 21, 26 12:33

555

EFSArCBy-1 waitfor delay '0:0:15' -- | Jul 21, 26 12:33

555

EFSArCByagiTHM8n'; waitfor delay '0:0:15' -- | Jul 21, 26 12:33

555

EFSArCByvsegN5Gu' OR 534=(SELECT 534 FROM PG_SLEEP(15))-- | Jul 21, 26 12:33

555

EFSArCByEvKmiJdn') OR 370=(SELECT 370 FROM PG_SLEEP(15))-- | Jul 21, 26 12:33

555

EFSArCByjYcSNhD2')) OR 155=(SELECT 155 FROM PG_SLEEP(15))-- | Jul 21, 26 12:33

555

EFSArCBy'||DBMS_PIPE.RECEIVE_MESSAGE(CHR(98)||CHR(98)||CHR(98),15)||' | Jul 21, 26 12:33

555

EFSArCBy | Jul 21, 26 12:33

555

EFSArCBy'" | Jul 21, 26 12:33

555

@@Fc32Z | Jul 21, 26 12:33

555

EFSArCBy | Jul 21, 26 12:33

555

EFSArCBy | Jul 21, 26 12:33

555

EFSArCBy | Jul 21, 26 12:33

555

EFSArCBy | Jul 21, 26 12:33

555

EFSArCBy | Jul 21, 26 12:33

555

EFSArCBy | Jul 21, 26 12:33

555

EFSArCBy | Jul 21, 26 12:33

555

EFSArCBy | Jul 21, 26 12:33

555

EFSArCBy | Jul 21, 26 12:33

555

EFSArCBy | Jul 21, 26 12:33

555

EFSArCBy | Jul 21, 26 12:33

555

EFSArCBy | Jul 21, 26 12:33

555

EFSArCBy | Jul 21, 26 12:33

555

EFSArCBy | Jul 21, 26 12:33

555

EFSArCBy | Jul 21, 26 12:33

555

EFSArCBy | Jul 21, 26 12:33

555

EFSArCBy | Jul 21, 26 12:33

555

EFSArCBy | Jul 21, 26 12:33

555

EFSArCBy | Jul 21, 26 12:33

555

EFSArCBy | Jul 23, 26 03:28

555

EFSArCBy | Jul 23, 26 03:29

555

EFSArCBy | Jul 23, 26 03:29

555

EFSArCBy | Jul 23, 26 03:29

-1 OR 2+124-124-1=0+0+0+1 --

EFSArCBy | Jul 23, 26 03:29

-1 OR 2+663-663-1=0+0+0+1

EFSArCBy | Jul 23, 26 03:29

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

EFSArCBy | Jul 23, 26 03:29

-1' OR 2+512-512-1=0+0+0+1 or 'Gj6WaNDX'='

EFSArCBy | Jul 23, 26 03:29

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

EFSArCBy | Jul 23, 26 03:29

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

EFSArCBy | Jul 23, 26 03:29

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

EFSArCBy | Jul 23, 26 03:29

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

EFSArCBy | Jul 23, 26 03:29

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

EFSArCBy | Jul 23, 26 03:29

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

EFSArCBy | Jul 23, 26 03:29

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

EFSArCBy | Jul 23, 26 03:29

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

EFSArCBy | Jul 23, 26 03:29

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

EFSArCBy | Jul 23, 26 03:29

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

EFSArCBy | Jul 23, 26 03:29

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

EFSArCBy | Jul 23, 26 03:29

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

EFSArCBy | Jul 23, 26 03:29

555hDcwgM4L' OR 279=(SELECT 279 FROM PG_SLEEP(15))--

EFSArCBy | Jul 23, 26 03:29

555fECXOPhU') OR 399=(SELECT 399 FROM PG_SLEEP(15))--

EFSArCBy | Jul 23, 26 03:29

555Ch4KXG1N')) OR 40=(SELECT 40 FROM PG_SLEEP(15))--

EFSArCBy | Jul 23, 26 03:29

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

EFSArCBy | Jul 23, 26 03:29

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

EFSArCBy | Jul 23, 26 03:29

555

EFSArCBy | Jul 23, 26 03:29

555'"

EFSArCBy | Jul 23, 26 03:29

@@BlXzK

EFSArCBy | Jul 23, 26 03:29

555

EFSArCBy | Jul 23, 26 03:29

555

EFSArCBy | Jul 23, 26 03:29

555

EFSArCBy | Jul 23, 26 03:29

555

EFSArCBy | Jul 23, 26 03:29

555

EFSArCBy | Jul 23, 26 03:29

555

EFSArCBy | Jul 23, 26 03:29

555

EFSArCBy | Jul 23, 26 03:29

555

EFSArCBy | Jul 23, 26 03:29

555

EFSArCBy | Jul 23, 26 03:29

555

EFSArCBy | Jul 23, 26 03:29

555

EFSArCBy | Jul 23, 26 03:29

555

EFSArCBy | Jul 23, 26 03:29

555

EFSArCBy | Jul 23, 26 03:29

555

EFSArCBy | Jul 23, 26 03:29

555

EFSArCBy | Jul 23, 26 03:29

555

EFSArCBy | Jul 23, 26 03:29

555

EFSArCBy | Jul 23, 26 03:29

555

EFSArCBy | Jul 23, 26 03:29

555

EFSArCBy | Jul 23, 26 03:29

555

EFSArCBy | Jul 23, 26 03:29

555

EFSArCBy | Jul 23, 26 03:29

555

EFSArCBy | Jul 23, 26 03:29

555

EFSArCBy | Jul 23, 26 03:29

555

-1 OR 2+590-590-1=0+0+0+1 -- | Jul 23, 26 03:29

555

-1 OR 2+618-618-1=0+0+0+1 | Jul 23, 26 03:29

555

-1' OR 2+942-942-1=0+0+0+1 -- | Jul 23, 26 03:29

555

-1' OR 2+563-563-1=0+0+0+1 or 'JCFhAhRt'=' | Jul 23, 26 03:29

555

-1" OR 2+739-739-1=0+0+0+1 -- | Jul 23, 26 03:29

555

if(now()=sysdate(),sleep(15),0) | Jul 23, 26 03:29

555

EFSArCBy0'XOR(if(now()=sysdate(),sleep(15),0))XOR'Z | Jul 23, 26 03:29

555

EFSArCBy0"XOR(if(now()=sysdate(),sleep(15),0))XOR"Z | Jul 23, 26 03:29

555

EFSArCBy-1 waitfor delay '0:0:15' -- | Jul 23, 26 03:29

555

EFSArCBy4zUlB79P'; waitfor delay '0:0:15' -- | Jul 23, 26 03:29

555

EFSArCByPiAiGYIZ' OR 455=(SELECT 455 FROM PG_SLEEP(15))-- | Jul 23, 26 03:29

555

EFSArCByW1hP2ZCg') OR 605=(SELECT 605 FROM PG_SLEEP(15))-- | Jul 23, 26 03:29

555

EFSArCByt0R7hAfZ')) OR 862=(SELECT 862 FROM PG_SLEEP(15))-- | Jul 23, 26 03:29

555

EFSArCBy'||DBMS_PIPE.RECEIVE_MESSAGE(CHR(98)||CHR(98)||CHR(98),15)||' | Jul 23, 26 03:29

555

EFSArCBy | Jul 23, 26 03:29

555

EFSArCBy'" | Jul 23, 26 03:29

555

@@5TDBx | Jul 23, 26 03:29

555

EFSArCBy | Jul 23, 26 03:29

555

EFSArCBy | Jul 23, 26 03:29

555

EFSArCBy | Jul 23, 26 03:29

555

EFSArCBy | Jul 23, 26 03:29

555

EFSArCBy | Jul 23, 26 03:29

555

EFSArCBy | Jul 23, 26 03:29

555

EFSArCBy | Jul 23, 26 03:29

555

EFSArCBy | Jul 23, 26 03:29

555

EFSArCBy | Jul 23, 26 03:29

555

EFSArCBy | Jul 23, 26 03:29

555

EFSArCBy | Jul 23, 26 03:29

555

EFSArCBy | Jul 23, 26 03:29

555

EFSArCBy | Jul 23, 26 03:29

555

EFSArCBy | Jul 23, 26 03:29

555

EFSArCBy | Jul 23, 26 03:29

555

EFSArCBy | Jul 23, 26 03:29

555

EFSArCBy | Jul 23, 26 03:29

555

EFSArCBy | Jul 23, 26 03:29

555

EFSArCBy | Jul 23, 26 03:29

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.