APIRootView tweaks
This commit is contained in:
parent
7e51ca9912
commit
4d4441217f
|
|
@ -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