cleanup settings
This commit is contained in:
parent
c1b0172011
commit
b82af76a3f
1 changed files with 2 additions and 10 deletions
|
|
@ -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']
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue