From: Michael Elsdoerfer Date: Wed, 9 Jul 2008 13:49:49 +0000 (+0200) Subject: minor readme updates X-Git-Tag: 0.2~47 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=cc09479c2d9413268ac100376a97fa4e080c425a;p=django-tables2.git minor readme updates --- diff --git a/README b/README index ecd8d07..fd0029c 100644 --- a/README +++ b/README @@ -90,9 +90,11 @@ Then, in the "list.html" template, write: {% endfor %} {% for row in table.rows %} + {% for value in row %} {{ value }} {% endfor %} + {% endfor %} @@ -105,9 +107,9 @@ as a such a string. Instead of the iterator, you can use your knowledge of the table structure to access columns directly: - {% if table.columns.tz.visible %} - {{ table.columns.tz }} - {% endfor %} + {% if table.columns.tz.visible %} + {{ table.columns.tz }} + {% endfor %} Dynamic Data @@ -515,7 +517,6 @@ TODO ---- - as_html methods are all empty right now - table.column[].values is a stub - - let columns change their default ordering (ascending/descending) - filters - grouping - choices support for columns (internal column value will be looked up