Change settings
This commit is contained in:
parent
bfe201ae29
commit
e735ebba32
@ -143,3 +143,5 @@ REST_FRAMEWORK = {
|
||||
"DEFAULT_PAGINATION_CLASS": "rest_framework.pagination.PageNumberPagination",
|
||||
"PAGE_SIZE": 20,
|
||||
}
|
||||
|
||||
SESSION_COOKIE_HTTPONLY = False
|
||||
|
@ -8,6 +8,8 @@ ALLOWED_HOSTS = ["*"]
|
||||
CORS_ALLOW_ALL_ORIGINS = True
|
||||
CORS_ALLOW_CREDENTIALS = True
|
||||
|
||||
CSRF_TRUSTED_ORIGINS = ["http://localhost:5173"]
|
||||
|
||||
|
||||
# Database
|
||||
# https://docs.djangoproject.com/en/4.2/ref/settings/#databases
|
||||
|
Loading…
Reference in New Issue
Block a user