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 16 of 20

0.16.0

- Django 1.8 fixes
- `BoundColumn.verbose_name` now only is capitalized only if no verbose_name was given. `verbose_name` is used verbatim.
- Add max_length attribute to person CharField
- Add Swedish translation
- Update docs presentation on readthedocs

0.15.0

- Add UK, Russian, Spanish, Portuguese, and Polish translations
- Add support for computed table `attrs`.

0.14.0

- `querystring` and `seturlparam` template tags now require the request to be in the context (backwards incompatible) -- 127
- Add Travis CI support
- Add support for Django 1.5
- Add L10N control for columns 120 (ignored in < Django 1.3)
- Drop Python 2.6.4 support in favor of Python 3.2 support
- Non-QuerySet data ordering is different between Python 3 and 2. When comparing different types, their truth values are now compared before falling back to string representations of their type.

0.13.0

- Add FileColumn.

0.12.1

- When resolving an accessor, *all* exceptions are smothered into `None`.

0.12.0

- Improve performance by removing unnecessary queries
- Simplified pagination:
- `Table.page` is an instance attribute (no longer `property`)
- Exceptions raised by paginators (e.g. `EmptyPage`) are no longer
smothered by `Table.page`
- Pagination exceptions are raised by `Table.paginate`
- `RequestConfig` can handles pagination errors silently, can be disabled
by including `silent=False` in the `paginate` argument value
- Add `DateTimeColumn` and `DateColumn` to handle formatting `datetime` and time zones.
- Add `BooleanColumn` to handle bool values
- `render_table` can now build and render a table for a QuerySet, rather than
needing to be passed a table instance
- Table columns created automatically from a model now use specialized columns
- `Column.render` is now skipped if the value is considered *empty*, the
default value is used instead. Empty values are specified via
`Column.empty_values`, by default is `(None, '')` (backward incompatible)
- Default values can now be specified on table instances or `Table.Meta`
- Accessor's now honor `alters_data` during resolving. Fixes issue that would
delete all your data when a column had an accessor of `delete`
- Add `default` and `value` to context of `TemplateColumn`
- Add cardinality indication to the pagination area of a table
- `Attrs` is deprecated, use `dict` instead

Page 16 of 20

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.