Currently, the App cannot query our API correctly because the cms is lacking the correct CORS headers. I propose to use a plugin for this: https://pypi.org/project/django-cors-headers/
Please add this to the dependencies and configure the minimal settings.
Alternatively, you can modify the relevant API endpoints by the following code snippet:
response = JsonResponse(result, safe=False) # Turn off Safe-Mode to allow serializing arrays
response["Access-Control-Allow-Origin"] = "http://localhost:3000"
response["Access-Control-Allow-Headers"] = "*"
return response
Currently, the App cannot query our API correctly because the cms is lacking the correct CORS headers. I propose to use a plugin for this: https://pypi.org/project/django-cors-headers/
Please add this to the dependencies and configure the minimal settings.
Alternatively, you can modify the relevant API endpoints by the following code snippet: