Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for drf-insights-pagination, version 1.0.0
Filename, size File type Python version Upload date Hashes
Filename, size drf_insights_pagination-1.0.0-py3-none-any.whl (18.2 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size drf-insights-pagination-1.0.0.tar.gz (4.1 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page