From 02d791a3d6035b24aba5af1522e1034fc89cbb6d Mon Sep 17 00:00:00 2001 From: Jeremy Stretch Date: Thu, 9 Mar 2017 15:18:50 -0500 Subject: [PATCH] APIRootView tweaks --- netbox/netbox/views.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/netbox/netbox/views.py b/netbox/netbox/views.py index 349612330..17a1e19d2 100644 --- a/netbox/netbox/views.py +++ b/netbox/netbox/views.py @@ -53,7 +53,8 @@ def home(request): class APIRootView(APIView): - permission_classes = [IsAuthenticated] + _ignore_model_permissions = True + exclude_from_schema = True def get_view_name(self): return u"API Root"