Provides pagination class that adheres to Insights IPP-12.
Project description
DRF Insights Pagination
A simple library to add a paginator to DRF that follows Insights IPP-12.
Installation and Usage
Install the library
pip install drf-insights-pagination
Change your pagination class, and optionally APP_PATH
in your settings
REST_FRAMEWORK = {
'DEFAULT_PAGINATION_CLASS': 'drf_insights_pagination.pagination.InsightsPagination',
}
INSIGHTS_PAGINATION_APP_PATH = '/api/application'
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for drf-insights-pagination-1.0.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f9710f5b3ed0886d1e936862b80f884c4711abeb9b712c2948c20093e54c2359 |
|
MD5 | 2a2ad392e9357b6404dac28a6b225236 |
|
BLAKE2b-256 | 59546d3281ba979bd52460de58609a1dfdf777c5961c3efc70be3bbafa20d6ce |
Close
Hashes for drf_insights_pagination-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8c4126b9c5ead1ef7f5bff436eb0142a872723934a4c0fbe634c4aec0ef0a216 |
|
MD5 | bd7a4fc6bf760a9551825f036bda444c |
|
BLAKE2b-256 | 2a263de78b786f3f8cb5e35713f3abea6324b75c0c093493ef7906fdfeb07512 |