Browse Source

Removed deprecated base_path Swagger setting

Jeremy Stretch 8 years ago
parent
commit
5eb3c1a67b
1 changed files with 0 additions and 5 deletions
  1. 0 5
      netbox/netbox/settings.py

+ 0 - 5
netbox/netbox/settings.py

@@ -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',