From 19f20a8cd656538492ea0bf2093a2b9a76468e4b Mon Sep 17 00:00:00 2001 From: Sayyid Hamid Mahdavi Date: Sat, 10 May 2025 13:53:29 +0330 Subject: [PATCH] init --- main/settings.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/main/settings.py b/main/settings.py index acbefc6..dbe47fe 100644 --- a/main/settings.py +++ b/main/settings.py @@ -221,7 +221,10 @@ SPECTACULAR_SETTINGS = { AUTH_USER_MODEL = 'users.User' CORS_ORIGIN_ALLOW_ALL = True CORS_ALLOW_ALL_ORIGINS = True -CSRF_TRUSTED_ORIGINS = ['http://*', 'https://*', 'http://*.gooyal.com', 'https://*.gooyal.com'] +CSRF_TRUSTED_ORIGINS = ['http://*', 'https://*', + 'http://*.gooyal.com', 'https://*.gooyal.com', + 'http://*.addwin.ir', 'https://*.addwin.ir', + ] JALALI_DATE_DEFAULTS = { 'Strftime': {