projects
/
django-tables2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
32c37ea
)
the pagination example still wasn't quite right (thanks again, robert)
author
Michael Elsdoerfer
<michael@elsdoerfer.info>
Mon, 6 Oct 2008 12:23:47 +0000
(14:23 +0200)
committer
Michael Elsdoerfer
<michael@elsdoerfer.info>
Mon, 6 Oct 2008 12:23:47 +0000
(14:23 +0200)
README
patch
|
blob
|
history
diff --git
a/README
b/README
index 6c832948589240e49a3c91b3c8a43ff27f6bffea..71ca0c90e0a6700941c104006d909858261c7715 100644
(file)
--- a/
README
+++ b/
README
@@
-369,7
+369,7
@@
works as expected.
Alternatively, you may use the ``paginate`` feature:
\r
\r
table = MyTable(queryset)
\r
- table.paginate(
QuerySetPaginator, 10, page=1, padding
=2)
\r
+ table.paginate(
Paginator, 10, page=1, orphans
=2)
\r
for row in table.rows.page():
\r
pass
\r
table.paginator # new attributes
\r