Explorar o código

Removed deprecated base_path Swagger setting

Jeremy Stretch %!s(int64=9) %!d(string=hai) anos
pai
achega
5eb3c1a67b
Modificáronse 1 ficheiros con 0 adicións e 5 borrados
  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',