🔥(backend) remove unused order parameter in Paginator class

In the custom Paginator present in the viewset, an ordering parameter
was set. This parameter is never used by the DRF paginator and can be
removed.
This commit is contained in:
Manuel Raynaud
2026-06-02 19:47:38 +02:00
parent 9bdf36a323
commit dc692a1594
-1
View File
@@ -173,7 +173,6 @@ class SerializerPerActionMixin:
class Pagination(drf.pagination.PageNumberPagination):
"""Pagination to display no more than 100 objects per page sorted by creation date."""
ordering = "-created_on"
max_page_size = 200
page_size_query_param = "page_size"