Skip to main content

A django package for paginating api responses

Project description

===== Django Easy Paginator for API Response

django-easy-paginate is a simple Django app to conduct pagination for api responses.

Detailed documentation is in the "docs" directory.

Quick start

  1. Add "paginate_api" to your INSTALLED_APPS setting like this::

    INSTALLED_APPS = [ ... 'paginate_api', ]

  2. Import paginate from paginate_api.paginate

  3. Use paginate as

         result = paginate(data_as_array, page_number, per_page_count_integer_value)
    

Project details


Download files

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

Source Distribution

django-easy-paginate-0.0.1.tar.gz (2.9 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page