From 36dbc4cb995e3810ce3bbae141168734f1dc8fcd Mon Sep 17 00:00:00 2001 From: =?utf8?q?Michael=20Elsd=C3=B6rfer?= Date: Sun, 15 Jun 2008 17:49:55 +0000 Subject: [PATCH] ... --- README | 21 +++++++++++++++++---- 1 file changed, 17 insertions(+), 4 deletions(-) diff --git a/README b/README index 704019a..ec2e167 100644 --- a/README +++ b/README @@ -13,14 +13,27 @@ Running the test suite The test suite uses py.test (from http://codespeak.net/py/dist/test.html). +Defining Tables +--------------- + +Using Tables +------------ + +Create + Tables and Pagination --------------------- table = MyTable(queryset) p = Paginator(table.rows, 10) # paginator will need to be able to handle our modelproxy + or + table = MyTable(queryset) table.pagination = Paginator(10, padding=2) + + or + table.paginate(DiggPaginator, 10, padding=2) Works exactly like in the Django database API. Order may be specified as @@ -60,7 +73,7 @@ be able to do: TODO ---- - - - Support table filters - - Support grouping - - Support choices-like data \ No newline at end of file + - Let columns change their default ordering (ascending/descending) + - Filters + - Grouping + - Choices-like data \ No newline at end of file -- 2.26.2