Commit 030b444
Use 'page_query_param' for pagination instead of hard coded page (#312)
* 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.9
* Remove unneeded page_query_param default
* Add documentation for default page_query_param1 parent fbe49a1 commit 030b444
2 files changed
+8
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
35 | | - | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
36 | 38 | | |
37 | 39 | | |
38 | 40 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| |||
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
78 | | - | |
| 78 | + | |
79 | 79 | | |
80 | 80 | | |
81 | | - | |
| 81 | + | |
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
| |||
95 | 95 | | |
96 | 96 | | |
97 | 97 | | |
98 | | - | |
| 98 | + | |
0 commit comments