django-cors-headers package installed and configurated

This commit is contained in:
behruz-dev
2025-11-22 21:57:42 +05:00
parent 25e69d3060
commit 9447458f17
2 changed files with 5 additions and 2 deletions

View File

@@ -1,2 +1,3 @@
from .rest_framework import *
from .simple_jwt import *
from .simple_jwt import *
from .corsheaders import *

View File

@@ -107,4 +107,6 @@ MEDIA_ROOT = BASE_DIR / 'resources/media'
DEFAULT_AUTO_FIELD = 'django.db.models.BigAutoField'
AUTH_USER_MODEL = 'accounts.User'
AUTH_USER_MODEL = 'accounts.User'
import config.conf