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..
This commit is contained in:
Akita Noek 2016-04-25 14:13:05 -04:00
parent d0e9044dad
commit 30ed9ab740

View File

@ -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):