cleanup settings

This commit is contained in:
mahdavi 2024-07-28 19:10:57 +03:30
parent c1b0172011
commit b82af76a3f

View file

@ -103,8 +103,8 @@ REST_FRAMEWORK = {
}
SPECTACULAR_SETTINGS = {
'TITLE': 'accounts',
'DESCRIPTION': 'accounts api reference',
'TITLE': 'Gooyal Accounts',
'DESCRIPTION': 'Gooyal Accounts API reference',
'VERSION': '1.0.0',
'SERVE_INCLUDE_SCHEMA': False,
# OTHER SETTINGS
@ -227,14 +227,6 @@ LOGIN_URL = '/users/login/'
CRISPY_ALLOWED_TEMPLATE_PACKS = "bootstrap5"
CRISPY_TEMPLATE_PACK = "bootstrap5"
SPECTACULAR_SETTINGS = {
'TITLE': 'srv',
'DESCRIPTION': 'service api reference',
'VERSION': '1.0.0',
'SERVE_INCLUDE_SCHEMA': False,
# OTHER SETTINGS
}
AUTH_USER_MODEL = 'users.User'
CORS_ORIGIN_ALLOW_ALL = True
CSRF_TRUSTED_ORIGINS = ['http://*.gooyal.com', 'https://*.gooyal.com']