game: allow any to get game data
This commit is contained in:
parent
bfc58e74a9
commit
2e8eebc788
@ -14,7 +14,7 @@ class GameViewSet(viewsets.ModelViewSet):
|
|||||||
|
|
||||||
queryset = GameModel.objects
|
queryset = GameModel.objects
|
||||||
serializer_class = GameSerializer
|
serializer_class = GameSerializer
|
||||||
permission_classes = (permissions.IsAuthenticated,)
|
permission_classes = (permissions.AllowAny,)
|
||||||
authentication_classes = (SessionAuthentication,)
|
authentication_classes = (SessionAuthentication,)
|
||||||
|
|
||||||
def retrieve(self, request: HttpRequest, pk):
|
def retrieve(self, request: HttpRequest, pk):
|
||||||
|
Loading…
Reference in New Issue
Block a user