init
This commit is contained in:
parent
b8b4f78a22
commit
19f20a8cd6
1 changed files with 4 additions and 1 deletions
|
|
@ -221,7 +221,10 @@ SPECTACULAR_SETTINGS = {
|
||||||
AUTH_USER_MODEL = 'users.User'
|
AUTH_USER_MODEL = 'users.User'
|
||||||
CORS_ORIGIN_ALLOW_ALL = True
|
CORS_ORIGIN_ALLOW_ALL = True
|
||||||
CORS_ALLOW_ALL_ORIGINS = 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 = {
|
JALALI_DATE_DEFAULTS = {
|
||||||
'Strftime': {
|
'Strftime': {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue