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.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d98991acdb02f013c6ca98bcaf597549f9ea1b413dec407b2416eda806e3c4c7 |
|
MD5 | dc9344193a80ac393c175e747ccc49e6 |
|
BLAKE2b-256 | 4da85e61f772d193660de202035d1978a5c279bfa27c6810c441d1a979348f4f |
Close
Hashes for drf_insights_pagination-1.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6f392451017e921656a2ab01636503fe8545e4fff41bd529100c43cca831f2f4 |
|
MD5 | 77fe1b53f3a7066c11815b2fa4bd9aa1 |
|
BLAKE2b-256 | 4f09aed3d52f30a8343881111e9b51341007c346645750738e202196f34e69de |