Replacement for Django REST Framework's pagination classes implementing Link header as defined in RFC5988 with optional enveloping.
Inspired by `this paragraph from excellent article<https://www.vinaysahni.com/best-practices-for-a-pragmatic-restful-api#pagination>`_ by Vinay Sahni
Note
This is pre-alpha code. Use at your own discretion.
- Free software: MIT license
- Documentation: https://hedju.readthedocs.io.
- Provides
first
,prev
,next
andlast
links via headers. - Optional enveloping for clients without header support - returns structure
compatible with original class but with extra
first
andlast
links.
Developed by SUNSCRAPERS with passion & patience.
This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.