WAGTAILAPI_MAX_RESULTS is actually called WAGTAILAPI_LIMIT_MAX

Fixes #2156
pull/2118/merge
Karl Hobley 2016-01-27 09:39:50 +00:00 zatwierdzone przez Matt Westcott
rodzic df26c8de80
commit 13217dd6ef
2 zmienionych plików z 4 dodań i 4 usunięć

Wyświetl plik

@ -16,9 +16,9 @@ Generating URLs to documents will fall back the the current request's hostname i
Setting this to false will disable full text search. This applies to all endpoints.
``WAGTAILAPI_MAX_RESULTS`` (default: 20)
``WAGTAILAPI_LIMIT_MAX`` (default: 20)
This allows you to change the maximum number of results a user can get at any time. This applies to all endpoints.
This allows you to change the maximum number of results a user can request at a time. This applies to all endpoints.
Adding more fields to the pages endpoint

Wyświetl plik

@ -419,7 +419,7 @@ Like filtering, it is also possible to order on database fields. The endpoint ac
Pagination
^^^^^^^^^^
Pagination is done using two query parameters called ``limit`` and ``offset``. ``limit`` sets the number of results to return and ``offset`` is the index of the first result to return. The default value for ``limit`` is ``20`` and its maximum value is ``100`` (which can be changed using the ``WAGTAILAPI_MAX_RESULTS`` setting).
Pagination is done using two query parameters called ``limit`` and ``offset``. ``limit`` sets the number of results to return and ``offset`` is the index of the first result to return. The default and maximum value for ``limit`` is ``20``. The maximum value can be changed using the ``WAGTAILAPI_LIMIT_MAX`` setting.
.. code-block:: json
@ -747,7 +747,7 @@ The images endpoint also accepts the ``order`` parameter which should be set to
Pagination
^^^^^^^^^^
Pagination is done using two query parameters called ``limit`` and ``offset``. ``limit`` sets the number of results to return and ``offset`` is the index of the first result to return. The default value for ``limit`` is ``20`` and its maximum value is ``100`` (which can be changed using the ``WAGTAILAPI_MAX_RESULTS`` setting).
Pagination is done using two query parameters called ``limit`` and ``offset``. ``limit`` sets the number of results to return and ``offset`` is the index of the first result to return. The default and maximum value for ``limit`` is ``20``. The maximum value can be changed using the ``WAGTAILAPI_LIMIT_MAX`` setting.
.. code-block:: json