This commit is contained in:
Irwan Cahyono 2025-08-07 22:40:36 +07:00
parent 115d921b19
commit d208864621

View File

@ -156,6 +156,8 @@ DEFAULT_AUTO_FIELD = 'django.db.models.BigAutoField'
CORS_ALLOWED_ORIGINS = config('CORS_ALLOWED_ORIGINS', cast=Csv(), default=[])
CORS_ALLOW_CREDENTIALS = True
CSRF_TRUSTED_ORIGINS = config('CSRF_TRUSTED_ORIGINS', cast=Csv(), default=[])
REST_FRAMEWORK = {
'DEFAULT_PAGINATION_CLASS':
'freekake_api.pagination.CustomPagination',