mirror of
https://github.com/nprasad2077/nbaStats.git
synced 2026-11-06 10:00:34 +00:00
data too big. will try pagination.
This commit is contained in:
1 parent
ac45b1534a
commit
f39d19ea19
1 file changed
+6
@@ -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