File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -88,6 +88,8 @@ override ``settings.REST_FRAMEWORK``::
8888
8989 REST_FRAMEWORK = {
9090 'PAGINATE_BY': 10,
91+ 'PAGINATE_BY_PARAM': 'page_size',
92+ 'MAX_PAGINATE_BY': 100,
9193 'DEFAULT_PAGINATION_SERIALIZER_CLASS':
9294 'rest_framework_ember.pagination.EmberPaginationSerializer',
9395 'DEFAULT_PARSER_CLASSES': (
@@ -103,10 +105,10 @@ override ``settings.REST_FRAMEWORK``::
103105 }
104106
105107
106- If `PAGINATE_BY ` is set the renderer will return a ``meta `` object with
108+ If `` PAGINATE_BY ` ` is set the renderer will return a ``meta `` object with
107109record count and the next and previous links. Django Rest Framework looks
108- for the `page ` GET parameter by default allowing you to make requests for
109- subsets of the data with `this.store.find('identity', {page: 2}); `.
110+ for the `` page ` ` GET parameter by default allowing you to make requests for
111+ subsets of the data with `` this.store.find('identity', {page: 2}); ` `.
110112
111113
112114resource_name property
You can’t perform that action at this time.
0 commit comments