Skip to content

Commit

Permalink
linter
Browse files Browse the repository at this point in the history
  • Loading branch information
abrahmasandra committed Dec 6, 2023
1 parent b38f855 commit 5865655
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/chigame/api/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ def get_user(lookup_value):
else:
# Otherwise, use the slug field
return get_object_or_404(User, username=lookup_value)




class GameListView(generics.ListCreateAPIView):
queryset = Game.objects.all()
Expand Down Expand Up @@ -94,7 +95,8 @@ class GroupDetailView(generics.RetrieveUpdateDestroyAPIView):
queryset = Group.objects.all()
serializer_class = GroupSerializer




class GroupMembersView(generics.ListAPIView):
serializer_class = UserSerializer

Expand Down

0 comments on commit 5865655

Please sign in to comment.