From d4e77dbdf8f25595d1c3283bc886978d823d2cc4 Mon Sep 17 00:00:00 2001 From: Sayyid Hamid Mahdavi Date: Sun, 15 Feb 2026 12:24:21 +0330 Subject: [PATCH] csrf --- main/settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/settings.py b/main/settings.py index c6667e2..2cb8e8d 100644 --- a/main/settings.py +++ b/main/settings.py @@ -231,7 +231,7 @@ 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://*.gooyal.ir', 'https://*.gooyal.ir', ] JALALI_DATE_DEFAULTS = { 'Strftime': {