Every now and then I come across the CORS issue again and again. Here's a check list I made for myself for troubleshooting.
- Check the app is installed and is in the right place. It should be after 'rest_framework' and before your own apps (not in docs but in SO):
INSTALLED_APPS = [
"rest_framework",
...,
"corsheaders",
...,
"myapp",