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:
@ -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"
|
||||
|
Reference in New Issue
Block a user