Part two - Building a Simple CRM Using Django (DRF) And Vue

In the second part of this Django and Vue series, we are going to learn how to add authentication to the CRM project. We're going to use Djoser to handle the user creation and token handling on the backend together with Django Rest Framework.

Comments

Tom | Oct 24, 23 09:32

I get the following error at 19:33 in the lesson:

ccess to XMLHttpRequest at 'http://127.0.0.1:8000/api/v1/users/' from origin 'http://127.0.0.1:8080' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.

Any advice on how to resolve this?

EFSArCBy | Jul 02, 26 08:55

555

EFSArCBy | Jul 02, 26 08:55

555

EFSArCBy | Jul 02, 26 08:55

555

EFSArCBy | Jul 02, 26 08:55

-1 OR 2+783-783-1=0+0+0+1 --

EFSArCBy | Jul 02, 26 08:55

-1 OR 2+230-230-1=0+0+0+1

EFSArCBy | Jul 02, 26 08:55

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

EFSArCBy | Jul 02, 26 08:55

-1' OR 2+51-51-1=0+0+0+1 or 'UcqMpZQv'='

EFSArCBy | Jul 02, 26 08:55

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

EFSArCBy | Jul 02, 26 08:55

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

EFSArCBy | Jul 02, 26 08:55

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

EFSArCBy | Jul 02, 26 08:55

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

EFSArCBy | Jul 02, 26 08:55

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

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

EFSArCBy | Jul 02, 26 08:55

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

EFSArCBy | Jul 02, 26 08:55

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

EFSArCBy | Jul 02, 26 08:55

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

EFSArCBy | Jul 02, 26 08:55

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

EFSArCBy | Jul 02, 26 08:55

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

EFSArCBy | Jul 02, 26 08:55

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

EFSArCBy | Jul 02, 26 08:55

555251TBf8a' OR 983=(SELECT 983 FROM PG_SLEEP(15))--

EFSArCBy | Jul 02, 26 08:55

555WorlqmM9') OR 510=(SELECT 510 FROM PG_SLEEP(15))--

EFSArCBy | Jul 02, 26 08:55

555AHf3tsWD')) OR 19=(SELECT 19 FROM PG_SLEEP(15))--

EFSArCBy | Jul 02, 26 08:55

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

EFSArCBy | Jul 02, 26 08:55

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

EFSArCBy | Jul 02, 26 08:55

555

EFSArCBy | Jul 02, 26 08:55

555'"

EFSArCBy | Jul 02, 26 08:55

@@oWZLY

EFSArCBy | Jul 02, 26 08:55

555

EFSArCBy | Jul 02, 26 08:55

555

EFSArCBy | Jul 02, 26 08:55

555

EFSArCBy | Jul 02, 26 08:55

555

EFSArCBy | Jul 02, 26 08:55

555

EFSArCBy | Jul 02, 26 08:55

555

EFSArCBy | Jul 02, 26 08:55

555

EFSArCBy | Jul 02, 26 08:55

555

EFSArCBy | Jul 02, 26 08:55

555

EFSArCBy | Jul 02, 26 08:55

555

EFSArCBy | Jul 02, 26 08:56

555

EFSArCBy | Jul 02, 26 08:56

555

EFSArCBy | Jul 02, 26 08:56

555

EFSArCBy | Jul 02, 26 08:56

555

EFSArCBy | Jul 02, 26 08:56

555

EFSArCBy | Jul 02, 26 08:56

555

EFSArCBy | Jul 02, 26 08:56

555

EFSArCBy | Jul 02, 26 08:56

555

EFSArCBy | Jul 02, 26 08:56

555

EFSArCBy | Jul 02, 26 08:56

555

EFSArCBy | Jul 02, 26 08:56

555

EFSArCBy | Jul 02, 26 08:56

555

EFSArCBy | Jul 02, 26 08:56

555

EFSArCBy | Jul 02, 26 08:56

555

-1 OR 2+940-940-1=0+0+0+1 -- | Jul 02, 26 08:56

555

-1 OR 2+121-121-1=0+0+0+1 | Jul 02, 26 08:56

555

-1' OR 2+638-638-1=0+0+0+1 -- | Jul 02, 26 08:56

555

-1' OR 2+265-265-1=0+0+0+1 or 'xQNCmtg8'=' | Jul 02, 26 08:56

555

-1" OR 2+17-17-1=0+0+0+1 -- | Jul 02, 26 08:56

555

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

555

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

555

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

555

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

555

EFSArCByEielRy2S'; waitfor delay '0:0:15' -- | Jul 02, 26 08:56

555

EFSArCByeL2tlmkm' OR 185=(SELECT 185 FROM PG_SLEEP(15))-- | Jul 02, 26 08:56

555

EFSArCBypdCpDUWm') OR 812=(SELECT 812 FROM PG_SLEEP(15))-- | Jul 02, 26 08:56

555

EFSArCByRu1l9AkB')) OR 790=(SELECT 790 FROM PG_SLEEP(15))-- | Jul 02, 26 08:56

555

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

555

EFSArCBy | Jul 02, 26 08:56

555

EFSArCBy'" | Jul 02, 26 08:56

555

@@Qn7Eb | Jul 02, 26 08:56

555

EFSArCBy | Jul 02, 26 08:56

555

EFSArCBy | Jul 02, 26 08:56

555

EFSArCBy | Jul 02, 26 08:56

555

EFSArCBy | Jul 02, 26 08:56

555

EFSArCBy | Jul 02, 26 08:56

555

EFSArCBy | Jul 02, 26 08:56

555

EFSArCBy | Jul 02, 26 08:56

555

EFSArCBy | Jul 02, 26 08:56

555

EFSArCBy | Jul 02, 26 08:56

555

EFSArCBy | Jul 02, 26 08:56

555

EFSArCBy | Jul 02, 26 08:56

555

EFSArCBy | Jul 02, 26 08:56

555

EFSArCBy | Jul 02, 26 08:56

555

EFSArCBy | Jul 02, 26 08:56

555

EFSArCBy | Jul 02, 26 08:56

555

EFSArCBy | Jul 02, 26 08:56

555

EFSArCBy | Jul 02, 26 08:56

555

EFSArCBy | Jul 02, 26 08:56

555

EFSArCBy | Jul 02, 26 08:56

555

EFSArCBy | Jul 20, 26 09:52

555

EFSArCBy | Jul 20, 26 09:52

555

EFSArCBy | Jul 20, 26 09:52

555

EFSArCBy | Jul 20, 26 09:52

-1 OR 2+822-822-1=0+0+0+1 --

EFSArCBy | Jul 20, 26 09:52

-1 OR 2+657-657-1=0+0+0+1

EFSArCBy | Jul 20, 26 09:52

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

EFSArCBy | Jul 20, 26 09:52

-1' OR 2+891-891-1=0+0+0+1 or '0lv6BBMo'='

EFSArCBy | Jul 20, 26 09:52

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

EFSArCBy | Jul 20, 26 09:52

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

EFSArCBy | Jul 20, 26 09:52

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

EFSArCBy | Jul 20, 26 09:52

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

EFSArCBy | Jul 20, 26 09:52

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

EFSArCBy | Jul 20, 26 09:52

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

EFSArCBy | Jul 20, 26 09:52

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

EFSArCBy | Jul 20, 26 09:52

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

EFSArCBy | Jul 20, 26 09:52

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

EFSArCBy | Jul 20, 26 09:52

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

EFSArCBy | Jul 20, 26 09:52

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

EFSArCBy | Jul 20, 26 09:52

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

EFSArCBy | Jul 20, 26 09:52

555hRdxMqcL' OR 738=(SELECT 738 FROM PG_SLEEP(15))--

EFSArCBy | Jul 20, 26 09:52

555DuVxmjiF') OR 37=(SELECT 37 FROM PG_SLEEP(15))--

EFSArCBy | Jul 20, 26 09:52

555utCfF4ef')) OR 382=(SELECT 382 FROM PG_SLEEP(15))--

EFSArCBy | Jul 20, 26 09:52

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

EFSArCBy | Jul 20, 26 09:52

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

EFSArCBy | Jul 20, 26 09:52

555

EFSArCBy | Jul 20, 26 09:52

555'"

EFSArCBy | Jul 20, 26 09:52

@@CWFlA

EFSArCBy | Jul 20, 26 09:52

555

EFSArCBy | Jul 20, 26 09:52

555

EFSArCBy | Jul 20, 26 09:52

555

EFSArCBy | Jul 20, 26 09:53

555

EFSArCBy | Jul 20, 26 09:53

555

EFSArCBy | Jul 20, 26 09:53

555

EFSArCBy | Jul 20, 26 09:53

555

EFSArCBy | Jul 20, 26 09:53

555

EFSArCBy | Jul 20, 26 09:53

555

EFSArCBy | Jul 20, 26 09:53

555

EFSArCBy | Jul 20, 26 09:53

555

EFSArCBy | Jul 20, 26 09:53

555

EFSArCBy | Jul 20, 26 09:53

555

EFSArCBy | Jul 20, 26 09:53

555

EFSArCBy | Jul 20, 26 09:53

555

EFSArCBy | Jul 20, 26 09:53

555

EFSArCBy | Jul 20, 26 09:53

555

EFSArCBy | Jul 20, 26 09:53

555

EFSArCBy | Jul 20, 26 09:53

555

EFSArCBy | Jul 20, 26 09:53

555

EFSArCBy | Jul 20, 26 09:53

555

EFSArCBy | Jul 20, 26 09:53

555

EFSArCBy | Jul 20, 26 09:53

555

EFSArCBy | Jul 20, 26 09:53

555

-1 OR 2+578-578-1=0+0+0+1 -- | Jul 20, 26 09:53

555

-1 OR 2+113-113-1=0+0+0+1 | Jul 20, 26 09:53

555

-1' OR 2+491-491-1=0+0+0+1 -- | Jul 20, 26 09:53

555

-1' OR 2+862-862-1=0+0+0+1 or 'lOSHhx8K'=' | Jul 20, 26 09:53

555

-1" OR 2+310-310-1=0+0+0+1 -- | Jul 20, 26 09:53

555

if(now()=sysdate(),sleep(15),0) | Jul 20, 26 09:53

555

EFSArCBy0'XOR(if(now()=sysdate(),sleep(15),0))XOR'Z | Jul 20, 26 09:53

555

EFSArCBy0"XOR(if(now()=sysdate(),sleep(15),0))XOR"Z | Jul 20, 26 09:53

555

EFSArCBy-1 waitfor delay '0:0:15' -- | Jul 20, 26 09:53

555

EFSArCBylFeIOj2N'; waitfor delay '0:0:15' -- | Jul 20, 26 09:53

555

EFSArCByuLGAWxip' OR 422=(SELECT 422 FROM PG_SLEEP(15))-- | Jul 20, 26 09:53

555

EFSArCBynKPkluII') OR 719=(SELECT 719 FROM PG_SLEEP(15))-- | Jul 20, 26 09:53

555

EFSArCBy2yfV5Hk0')) OR 439=(SELECT 439 FROM PG_SLEEP(15))-- | Jul 20, 26 09:53

555

EFSArCBy'||DBMS_PIPE.RECEIVE_MESSAGE(CHR(98)||CHR(98)||CHR(98),15)||' | Jul 20, 26 09:53

555

EFSArCBy | Jul 20, 26 09:53

555

EFSArCBy'" | Jul 20, 26 09:53

555

@@jGxPG | Jul 20, 26 09:53

555

EFSArCBy | Jul 20, 26 09:53

555

EFSArCBy | Jul 20, 26 09:53

555

EFSArCBy | Jul 20, 26 09:53

555

EFSArCBy | Jul 20, 26 09:53

555

EFSArCBy | Jul 20, 26 09:53

555

EFSArCBy | Jul 20, 26 09:53

555

EFSArCBy | Jul 20, 26 09:53

555

EFSArCBy | Jul 20, 26 09:53

555

EFSArCBy | Jul 20, 26 09:53

555

EFSArCBy | Jul 20, 26 09:53

555

EFSArCBy | Jul 20, 26 09:53

555

EFSArCBy | Jul 20, 26 09:53

555

EFSArCBy | Jul 20, 26 09:53

555

EFSArCBy | Jul 20, 26 09:53

555

EFSArCBy | Jul 20, 26 09:53

555

EFSArCBy | Jul 20, 26 09:53

555

EFSArCBy | Jul 20, 26 09:53

555

EFSArCBy | Jul 20, 26 09:53

555

EFSArCBy | Jul 20, 26 09:53

555

EFSArCBy | Jul 23, 26 12:43

555

EFSArCBy | Jul 23, 26 12:44

555

EFSArCBy | Jul 23, 26 12:44

555

EFSArCBy | Jul 23, 26 12:44

-1 OR 2+490-490-1=0+0+0+1 --

EFSArCBy | Jul 23, 26 12:44

-1 OR 2+410-410-1=0+0+0+1

EFSArCBy | Jul 23, 26 12:44

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

EFSArCBy | Jul 23, 26 12:44

-1' OR 2+664-664-1=0+0+0+1 or 'cyvKzrA1'='

EFSArCBy | Jul 23, 26 12:44

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

EFSArCBy | Jul 23, 26 12:44

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

EFSArCBy | Jul 23, 26 12:44

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

EFSArCBy | Jul 23, 26 12:44

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

EFSArCBy | Jul 23, 26 12:44

(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 12:44

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

EFSArCBy | Jul 23, 26 12:44

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

EFSArCBy | Jul 23, 26 12:44

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

EFSArCBy | Jul 23, 26 12:44

55553fogFkc'; waitfor delay '0:0:15' --

EFSArCBy | Jul 23, 26 12:44

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

EFSArCBy | Jul 23, 26 12:44

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

EFSArCBy | Jul 23, 26 12:44

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

EFSArCBy | Jul 23, 26 12:44

555hGzlW3Bh' OR 612=(SELECT 612 FROM PG_SLEEP(15))--

EFSArCBy | Jul 23, 26 12:44

555nizvcRQF') OR 151=(SELECT 151 FROM PG_SLEEP(15))--

EFSArCBy | Jul 23, 26 12:44

555eUF5U3oP')) OR 409=(SELECT 409 FROM PG_SLEEP(15))--

EFSArCBy | Jul 23, 26 12:44

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

EFSArCBy | Jul 23, 26 12:44

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

EFSArCBy | Jul 23, 26 12:44

555

EFSArCBy | Jul 23, 26 12:44

555'"

EFSArCBy | Jul 23, 26 12:44

@@v9IuS

EFSArCBy | Jul 23, 26 12:44

555

EFSArCBy | Jul 23, 26 12:44

555

EFSArCBy | Jul 23, 26 12:44

555

EFSArCBy | Jul 23, 26 12:44

555

EFSArCBy | Jul 23, 26 12:44

555

EFSArCBy | Jul 23, 26 12:44

555

EFSArCBy | Jul 23, 26 12:44

555

EFSArCBy | Jul 23, 26 12:44

555

EFSArCBy | Jul 23, 26 12:44

555

EFSArCBy | Jul 23, 26 12:44

555

EFSArCBy | Jul 23, 26 12:44

555

EFSArCBy | Jul 23, 26 12:44

555

EFSArCBy | Jul 23, 26 12:44

555

EFSArCBy | Jul 23, 26 12:44

555

EFSArCBy | Jul 23, 26 12:44

555

EFSArCBy | Jul 23, 26 12:44

555

EFSArCBy | Jul 23, 26 12:44

555

EFSArCBy | Jul 23, 26 12:44

555

EFSArCBy | Jul 23, 26 12:44

555

EFSArCBy | Jul 23, 26 12:44

555

EFSArCBy | Jul 23, 26 12:44

555

EFSArCBy | Jul 23, 26 12:44

555

EFSArCBy | Jul 23, 26 12:44

555

EFSArCBy | Jul 23, 26 12:44

555

-1 OR 2+322-322-1=0+0+0+1 -- | Jul 23, 26 12:44

555

-1 OR 2+38-38-1=0+0+0+1 | Jul 23, 26 12:44

555

-1' OR 2+694-694-1=0+0+0+1 -- | Jul 23, 26 12:44

555

-1' OR 2+288-288-1=0+0+0+1 or 'ZsnG2sL3'=' | Jul 23, 26 12:44

555

-1" OR 2+923-923-1=0+0+0+1 -- | Jul 23, 26 12:44

555

if(now()=sysdate(),sleep(15),0) | Jul 23, 26 12:44

555

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

555

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

555

EFSArCBy-1 waitfor delay '0:0:15' -- | Jul 23, 26 12:44

555

EFSArCByDpGoZso2'; waitfor delay '0:0:15' -- | Jul 23, 26 12:44

555

EFSArCBydlUhPF10' OR 382=(SELECT 382 FROM PG_SLEEP(15))-- | Jul 23, 26 12:44

555

EFSArCByRG3gkibo') OR 439=(SELECT 439 FROM PG_SLEEP(15))-- | Jul 23, 26 12:44

555

EFSArCBytrQ9MkWz')) OR 778=(SELECT 778 FROM PG_SLEEP(15))-- | Jul 23, 26 12:44

555

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

555

EFSArCBy | Jul 23, 26 12:44

555

EFSArCBy'" | Jul 23, 26 12:44

555

@@OGnMY | Jul 23, 26 12:44

555

EFSArCBy | Jul 23, 26 12:44

555

EFSArCBy | Jul 23, 26 12:44

555

EFSArCBy | Jul 23, 26 12:44

555

EFSArCBy | Jul 23, 26 12:44

555

EFSArCBy | Jul 23, 26 12:44

555

EFSArCBy | Jul 23, 26 12:44

555

EFSArCBy | Jul 23, 26 12:44

555

EFSArCBy | Jul 23, 26 12:44

555

EFSArCBy | Jul 23, 26 12:44

555

EFSArCBy | Jul 23, 26 12:44

555

EFSArCBy | Jul 23, 26 12:44

555

EFSArCBy | Jul 23, 26 12:44

555

EFSArCBy | Jul 23, 26 12:44

555

EFSArCBy | Jul 23, 26 12:44

555

EFSArCBy | Jul 23, 26 12:44

555

EFSArCBy | Jul 23, 26 12:44

555

EFSArCBy | Jul 23, 26 12:44

555

EFSArCBy | Jul 23, 26 12:44

555

EFSArCBy | Jul 23, 26 12:44

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.