From 30ed9ab740f5ff8d3c4d4c52a1017b8ae4d2c7cd Mon Sep 17 00:00:00 2001 From: Akita Noek Date: Mon, 25 Apr 2016 14:13:05 -0400 Subject: [PATCH] Reverted cursor pagination for /roles/ Turns out it doesn't play well with our custom filters, and performance is still tolerable with the normal pagination.. --- awx/api/views.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/awx/api/views.py b/awx/api/views.py index be4cf4fd8b..1e13771ef8 100644 --- a/awx/api/views.py +++ b/awx/api/views.py @@ -3480,9 +3480,6 @@ class RoleList(ListAPIView): model = Role serializer_class = RoleSerializer permission_classes = (IsAuthenticated,) - class CursorPaginationById(CursorPagination): - ordering = 'id' - pagination_class = CursorPaginationById new_in_300 = True def get_queryset(self):