Info
Please log in to comment!
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.
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?