mirror of
https://github.com/nprasad2077/nbaStats.git
synced 2026-11-05 17:45:48 +00:00
order by id
This commit is contained in:
1 parent
7b38cb386e
commit
a1e0443f7c
1 file changed
+1
-1
+1
-1
@@ -10,7 +10,7 @@ from .serializers import PlayerDataSerializer
|
||||
|
||||
# API view to list all PlayerData instances
|
||||
class PlayerDataList(generics.ListCreateAPIView):
|
||||
queryset = PlayerData.objects.all()
|
||||
queryset = PlayerData.objects.all().order_by('id')
|
||||
serializer_class = PlayerDataSerializer
|
||||
# pagination_class = None
|
||||
|
||||
|
||||
Reference in new issue
Block a user