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:
99b565c
)
fixed erroneous example in README (thanks to robert)
author
Michael Elsdoerfer
<michael@elsdoerfer.info>
Thu, 2 Oct 2008 12:37:04 +0000
(14:37 +0200)
committer
Michael Elsdoerfer
<michael@elsdoerfer.info>
Thu, 2 Oct 2008 12:37:04 +0000
(14:37 +0200)
README
patch
|
blob
|
history
diff --git
a/README
b/README
index 2f1ae27867fcea7c2859197284d3d5f9b04a4636..6c832948589240e49a3c91b3c8a43ff27f6bffea 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,
page=1, 10
, padding=2)
\r
+ table.paginate(QuerySetPaginator,
10, page=1
, padding=2)
\r
for row in table.rows.page():
\r
pass
\r
table.paginator # new attributes
\r