Python Rest Api Framework
latest
  • What is Python REST API Framework
  • Tutorial: building an adressebook API
  • REST API Framework API references
    • Main modules
    • Optional modules
      • Authentication
      • Authorization
      • Pagination
      • Partials
      • Rate Limit
Python Rest Api Framework
  • Docs »
  • REST API Framework API references »
  • Pagination
  • Edit on GitHub

Pagination¶

class rest_api_framework.pagination.Pagination(max_result, offset_key='offset', count_key='count')[source]¶

The base implementation of Pagination. __init__ define max, offset and count.

paginate(request)[source]¶

return an offset, a count and the request kwargs without pagination parameters

Next Previous

© Copyright 2013, Yohann Gabory. Revision 971f722f.

Built with Sphinx using a theme provided by Read the Docs.