geonode.api.paginator ===================== .. py:module:: geonode.api.paginator Classes ------- .. autoapisummary:: geonode.api.paginator.CrossSiteXHRPaginator Module Contents --------------- .. py:class:: CrossSiteXHRPaginator Bases: :py:obj:`tastypie.paginator.Paginator` .. py:method:: get_limit() Determines the proper maximum number of results to return. In order of importance, it will use: * The user-requested ``limit`` from the GET parameters, if specified. * The object-level ``limit`` if specified. * ``settings.API_LIMIT_PER_PAGE`` if specified. Default is 20 per page. .. py:method:: get_offset() Determines the proper starting offset of results to return. It attempts to use the user-provided ``offset`` from the GET parameters, if specified. Otherwise, it falls back to the object-level ``offset``. Default is 0.