From 7a55488a17bcf2f13d7194813021f644ef92560d Mon Sep 17 00:00:00 2001 From: Sayyid Hamid Mahdavi Date: Sat, 21 Feb 2026 17:10:59 +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 2cb8e8d..02b3d83 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', 'http://*.gooyal.ir', 'https://*.gooyal.ir', ] +CSRF_TRUSTED_ORIGINS = ['http://*', 'https://*', 'http://*.gooyal.com', 'https://*.gooyal.com', 'http://*.gooyal.ir', 'https://*.gooyal.ir', ] JALALI_DATE_DEFAULTS = { 'Strftime': {