1
0
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:
Jeremy Stretch
2017-02-01 10:48:36 -05:00
parent b370375414
commit 5eb3c1a67b

View File

@ -189,11 +189,6 @@ REST_FRAMEWORK = {
if LOGIN_REQUIRED:
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
INTERNAL_IPS = (
'127.0.0.1',