Remove auth checks for /api/ and /api/v1/ to fix auth errors in UI after logging into munin.

This commit is contained in:
Chris Church
2014-08-07 16:49:14 -04:00
parent 80cf2e4bc1
commit 2c40209e30
2 changed files with 13 additions and 1 deletions

View File

@@ -64,6 +64,7 @@ def api_exception_handler(exc):
class ApiRootView(APIView):
authentication_classes = []
permission_classes = (AllowAny,)
view_name = 'REST API'
@@ -82,6 +83,7 @@ class ApiRootView(APIView):
class ApiV1RootView(APIView):
authentication_classes = []
permission_classes = (AllowAny,)
view_name = 'Version 1'