mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-17 04:32:51 -06:00
APIRootView tweaks
This commit is contained in:
parent
7e51ca9912
commit
4d4441217f
@ -53,7 +53,8 @@ def home(request):
|
|||||||
|
|
||||||
|
|
||||||
class APIRootView(APIView):
|
class APIRootView(APIView):
|
||||||
permission_classes = [IsAuthenticated]
|
_ignore_model_permissions = True
|
||||||
|
exclude_from_schema = True
|
||||||
|
|
||||||
def get_view_name(self):
|
def get_view_name(self):
|
||||||
return u"API Root"
|
return u"API Root"
|
||||||
|
Loading…
Reference in New Issue
Block a user