mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-16 04:02:52 -06:00
Removed deprecated base_path Swagger setting
This commit is contained in:
parent
b370375414
commit
5eb3c1a67b
@ -189,11 +189,6 @@ REST_FRAMEWORK = {
|
|||||||
if LOGIN_REQUIRED:
|
if LOGIN_REQUIRED:
|
||||||
REST_FRAMEWORK['DEFAULT_PERMISSION_CLASSES'] = ('rest_framework.permissions.IsAuthenticated',)
|
REST_FRAMEWORK['DEFAULT_PERMISSION_CLASSES'] = ('rest_framework.permissions.IsAuthenticated',)
|
||||||
|
|
||||||
# Swagger settings (API docs)
|
|
||||||
SWAGGER_SETTINGS = {
|
|
||||||
'base_path': '{}/{}api/docs'.format(ALLOWED_HOSTS[0], BASE_PATH),
|
|
||||||
}
|
|
||||||
|
|
||||||
# Django debug toolbar
|
# Django debug toolbar
|
||||||
INTERNAL_IPS = (
|
INTERNAL_IPS = (
|
||||||
'127.0.0.1',
|
'127.0.0.1',
|
||||||
|
Loading…
Reference in New Issue
Block a user