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 = {
|
SPECTACULAR_SETTINGS = {
|
||||||
'TITLE': 'accounts',
|
'TITLE': 'Gooyal Accounts',
|
||||||
'DESCRIPTION': 'accounts api reference',
|
'DESCRIPTION': 'Gooyal Accounts API reference',
|
||||||
'VERSION': '1.0.0',
|
'VERSION': '1.0.0',
|
||||||
'SERVE_INCLUDE_SCHEMA': False,
|
'SERVE_INCLUDE_SCHEMA': False,
|
||||||
# OTHER SETTINGS
|
# OTHER SETTINGS
|
||||||
|
|
@ -227,14 +227,6 @@ LOGIN_URL = '/users/login/'
|
||||||
CRISPY_ALLOWED_TEMPLATE_PACKS = "bootstrap5"
|
CRISPY_ALLOWED_TEMPLATE_PACKS = "bootstrap5"
|
||||||
CRISPY_TEMPLATE_PACK = "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'
|
AUTH_USER_MODEL = 'users.User'
|
||||||
CORS_ORIGIN_ALLOW_ALL = True
|
CORS_ORIGIN_ALLOW_ALL = True
|
||||||
CSRF_TRUSTED_ORIGINS = ['http://*.gooyal.com', 'https://*.gooyal.com']
|
CSRF_TRUSTED_ORIGINS = ['http://*.gooyal.com', 'https://*.gooyal.com']
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue