mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-29 11:56:25 -06:00
APIRootView tweaks
This commit is contained in:
parent
3ba49e19a7
commit
02d791a3d6
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user