1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

Removed Swagger

This commit is contained in:
Jeremy Stretch
2017-01-26 15:36:19 -05:00
parent 0f9fe8648e
commit b31c097531
3 changed files with 1 additions and 8 deletions

View File

@ -105,7 +105,6 @@ INSTALLED_APPS = (
'debug_toolbar',
'django_tables2',
'rest_framework',
'rest_framework_swagger',
'circuits',
'dcim',
'ipam',
@ -189,11 +188,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',