Fixed #119: forced redirection to login even with API_AUTHENTICATION_REQUIRED=False
This commit is contained in:
parent
0f5b1c295e
commit
4298c4236e
6 changed files with 14 additions and 3 deletions
|
|
@ -240,6 +240,7 @@ class TagViewSet(viewsets.ReadOnlyModelViewSet):
|
|||
|
||||
class Search(views.APIView):
|
||||
max_results = 3
|
||||
permission_classes = [ConditionalAuthentication]
|
||||
|
||||
def get(self, request, *args, **kwargs):
|
||||
query = request.GET['query']
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue