You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

drf-insights-pagination

Package Overview
Dependencies
Maintainers
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

drf-insights-pagination

Provides pagination class that adheres to Insights IPP-12.

1.0.1
pipPyPI
Maintainers
2

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'

Keywords

djangorestframework

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts