csrf trusted

This commit is contained in:
mahdavi 2024-07-02 14:51:22 +03:30
parent d532394d20
commit 4f7aa2fb12

View file

@ -235,7 +235,7 @@ SPECTACULAR_SETTINGS = {
AUTH_USER_MODEL = 'users.User' AUTH_USER_MODEL = 'users.User'
CORS_ORIGIN_ALLOW_ALL = True CORS_ORIGIN_ALLOW_ALL = True
CSRF_TRUSTED_ORIGINS = ['http://*.boostanweb.ir', 'https://*.boostanweb.ir'] CSRF_TRUSTED_ORIGINS = ['http://*.gooyal.com', 'https://*.gooyal.com']
JALALI_DATE_DEFAULTS = { JALALI_DATE_DEFAULTS = {
'Strftime': { 'Strftime': {