Story #5324
Updated by bmbouter over 5 years ago
Currently the default is PageId pagination. This was discussed some on this mailing list thread: https://www.redhat.com/archives/pulp-dev/2019-August/msg00025.html
h3. Design
In the settings.py switch the default to LimitOffsetPagination.
h3. Details
1. Remove "IDPagination":https://github.com/pulp/pulpcore/blob/master/pulpcore/app/pagination.py#L4
2. Update the DEFAULT_PAGINATION_CLASS"default in settings.py":https://github.com/pulp/pulpcore/blob/master/pulpcore/app/settings.py#L119-L120 to the "NoLimitPagination example from the DRF docs":https://www.django-rest-framework.org/api-guide/pagination/#setting-the-pagination-style