mirror of
https://github.com/netbox-community/netbox.git
synced 2024-05-10 07:54:54 +00:00
Removed deprecated base_path Swagger setting
This commit is contained in:
@ -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',
|
||||||
|
Reference in New Issue
Block a user