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?

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.