Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fixed pagination example wrt new next_page_number behavior

  • Loading branch information...
commit 514e82702232139ec76f36a6e1fa4b63f47c6990 1 parent fc40a65
Claude Paroz authored June 09, 2012

Showing 1 changed file with 3 additions and 1 deletion. Show diff stats Hide diff stats

  1. 4  docs/topics/pagination.txt
4  docs/topics/pagination.txt
@@ -43,7 +43,9 @@ page::
43 43
     >>> page2.has_other_pages()
44 44
     True
45 45
     >>> page2.next_page_number()
46  
-    3
  46
+    Traceback (most recent call last):
  47
+    ...
  48
+    EmptyPage: That page contains no results
47 49
     >>> page2.previous_page_number()
48 50
     1
49 51
     >>> page2.start_index() # The 1-based index of the first item on this page

0 notes on commit 514e827

Please sign in to comment.
Something went wrong with that request. Please try again.