From: Michael Elsdörfer Date: Sun, 15 Jun 2008 17:49:55 +0000 (+0000) Subject: ... X-Git-Tag: 0.2~71 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=36dbc4cb995e3810ce3bbae141168734f1dc8fcd;p=django-tables2.git ... --- 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