Django-tables2

Latest version: v2.7.0

Safety actively analyzes 688931 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 19 of 20

0.9.0

- Add support for column attributes (see Attrs)
- Add `BoundRows.items()` to yield `(bound_column, cell)` pairs
- Tried to make docs more concise. Much stronger promotion of using
`RequestConfig` and `{% querystring %}`

0.8.4

- Removed random 'print' statements.
- Tweaked `paleblue` theme css to be more flexible:
- removed `whitespace: no-wrap`
- header background image to support more than 2 rows of text

0.8.3

- Fixed stupid import mistake. Tests did not pick it up due to them ignoring `ImportError`.

0.8.2

- `SingleTableView` now inherits from `ListView` which enables automatic
`foo_list.html` template name resolution (thanks dramon for reporting)
- `render_table` template tag no suppresses exceptions when `DEBUG=True`

0.8.1

- Fixed bug in render_table when giving it a template (issue 41)

0.8.0

- Added translation support in the default template via `{% trans %}`
- Removed `basic_table.html`, `Table.as_html()` now renders `table.html` but
will clobber the query string of the current request. Use the `render_table`
template tag instead
- `render_table` now supports an optional second argument -- the template to
use when rendering the table
- `Table` now supports declaring which template to use when rendering to HTML
- Django >=1.3 is now required
- Added support for using django-haystack's `SearchQuerySet` as a data source
- The default template `table.html` now includes block tags to make it easy to
extend to change small pieces
- Fixed table template parsing problems being hidden due to a subsequent
exception being raised
- `Http404` exceptions are no longer raised during a call to `Table.paginate()`,
instead it now occurs when `Table.page` is accessed
- Fixed bug where a table could not be rendered more than once if it was paginated.
- Accessing `Table.page` now returns a new page every time, rather than reusing
a single object

Page 19 of 20

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.