Django rest framework sorting in ascending and descending order

前端 未结 0 1513
终归单人心
终归单人心 2021-01-14 08:20

This is my view code

class BlogListSerializerView(generics.ListAPIView):
    model = Blog
    serializer_class = BlogSerializer
    pagination_class = CustomP         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题