Skip to content

Latest commit

 

History

History
46 lines (29 loc) · 1.62 KB

README.rst

File metadata and controls

46 lines (29 loc) · 1.62 KB

Hedju - Header Pagination for Django REST Framework

Documentation Status

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.

Features

  • Provides first, prev, next and last links via headers.
  • Optional enveloping for clients without header support - returns structure compatible with original class but with extra first and last links.

Credits

Developed by SUNSCRAPERS with passion & patience.

This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.