order products
This commit is contained in:
@@ -95,7 +95,7 @@ class UserRelationViewSet(viewsets.ModelViewSet):
|
||||
serializer_class = UserRelationSerializer
|
||||
|
||||
def list(self, request, *args, **kwargs):
|
||||
queryset = self.filter_queryset(self.get_queryset().order_by('-create_date'))
|
||||
queryset = self.filter_queryset(self.get_queryset().order_by('-create_date')) # noqa
|
||||
|
||||
page = self.paginate_queryset(queryset)
|
||||
if page is not None:
|
||||
|
||||
Reference in New Issue
Block a user