File tree 1 file changed +5
-3
lines changed
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``::
88
88
89
89
REST_FRAMEWORK = {
90
90
'PAGINATE_BY': 10,
91
+ 'PAGINATE_BY_PARAM': 'page_size',
92
+ 'MAX_PAGINATE_BY': 100,
91
93
'DEFAULT_PAGINATION_SERIALIZER_CLASS':
92
94
'rest_framework_ember.pagination.EmberPaginationSerializer',
93
95
'DEFAULT_PARSER_CLASSES': (
@@ -103,10 +105,10 @@ override ``settings.REST_FRAMEWORK``::
103
105
}
104
106
105
107
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
107
109
record 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}); ` `.
110
112
111
113
112
114
resource_name property
You can’t perform that action at this time.
0 commit comments