Kaydet (Commit) 514e8270 authored tarafından Claude Paroz's avatar Claude Paroz

Fixed pagination example wrt new next_page_number behavior

üst fc40a650
...@@ -43,7 +43,9 @@ page:: ...@@ -43,7 +43,9 @@ page::
>>> page2.has_other_pages() >>> page2.has_other_pages()
True True
>>> page2.next_page_number() >>> page2.next_page_number()
3 Traceback (most recent call last):
...
EmptyPage: That page contains no results
>>> page2.previous_page_number() >>> page2.previous_page_number()
1 1
>>> page2.start_index() # The 1-based index of the first item on this page >>> page2.start_index() # The 1-based index of the first item on this page
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment