This commit is contained in:
Sayyid Hamid Mahdavi 2025-05-10 13:53:29 +03:30
parent b8b4f78a22
commit 19f20a8cd6

View file

@ -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': {