diff --git a/portfolio_admin/settings.py b/portfolio_admin/settings.py index a1ff462..e373b4a 100644 --- a/portfolio_admin/settings.py +++ b/portfolio_admin/settings.py @@ -147,3 +147,10 @@ MEDIA_ROOT = BASE_DIR / 'resources/media' # https://docs.djangoproject.com/en/5.2/ref/settings/#default-auto-field DEFAULT_AUTO_FIELD = 'django.db.models.BigAutoField' + +CSRF_TRUSTED_ORIGINS = [ + "https://serenmebel.uz", + "https://www.serenmebel.uz", + "https://api.serenmebel.uz", +] +