Skip to main content
Donate to the Python Software Foundation or Purchase a PyCharm License to Benefit the PSF! Donate Now

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

This version
History Node

1.0.0

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
drf_insights_pagination-1.0.0-py3-none-any.whl (18.2 kB) Copy SHA256 hash SHA256 Wheel py3
drf-insights-pagination-1.0.0.tar.gz (4.1 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page