Commit 2c9750e
Eric Hurst
Use 'page_query_param' for pagination instead of hard coded page
*** What
- Use self.page_query_param to determine the query parameter to use for
pagination
- Set the default page_query_param to 'page'
- Freeze fake-factory version to 0.7.4
*** Why
- Allow the use of different page query parameters to do pagination
- The latest version of fake-factory is now depreciated:
https://pypi.python.org/pypi/fake-factory/9999.9.91 parent c869f34 commit 2c9750e
File tree
2 files changed
+4
-3
lines changed- rest_framework_json_api
2 files changed
+4
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
17 | 18 | | |
18 | 19 | | |
19 | 20 | | |
20 | 21 | | |
21 | 22 | | |
22 | 23 | | |
23 | | - | |
| 24 | + | |
24 | 25 | | |
25 | 26 | | |
26 | 27 | | |
| |||
95 | 96 | | |
96 | 97 | | |
97 | 98 | | |
98 | | - | |
| 99 | + | |
0 commit comments