mirror of
https://github.com/nprasad2077/nbaStats.git
synced 2026-11-04 09:15:35 +00:00
data too big. will try pagination.
This commit is contained in:
@@ -12,3 +12,9 @@ from .serializers import PlayerDataSerializer
|
||||
class PlayerDataList(generics.ListCreateAPIView):
|
||||
queryset = PlayerData.objects.all()
|
||||
serializer_class = PlayerDataSerializer
|
||||
|
||||
|
||||
# Fetch player data by team
|
||||
|
||||
class PlayerDataByTeamList(generics.ListAPIView):
|
||||
|
||||
|
||||
Reference in New Issue
Block a user