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

APIRootView tweaks

This commit is contained in:
Jeremy Stretch
2017-03-09 15:18:50 -05:00
parent 7e51ca9912
commit 4d4441217f

View File

@ -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"