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

1.1.3

- Drop support for Django 1.7
- Add argument to `CheckBoxColumn` to render it as checked (original PR: 208)

1.1.2

- Fix `BooleanColumn` with choices set will always render as if `True` (301)
- Fix a bug with `TemplateColumn` while using cached template loader (75)

1.1.1

- Allow `Meta.fields` to be a list as well as a tuple (250)
- Call template.render with a dict in Django >= 1.8. (298)
- Added `RelatedLinkColumn()` to render links to related objects (297)
- Remove default value from request parameter to `table.as_html()`

1.1.0

- Add tests for `TimeColumn`
- Remove `sortable` argument for `Table` and Column constructors and its associated methods. Deprecated since 2012.
- Remove deprecated aliases for `attrs` in `CheckboxColumn`.
- Remove deprecated `OrderByTuple` `cmp` method (deprecated since 2013).
- Add bootstrap template and (293, fixes 141, 285)
- Fix different html for tables with and without pagination (293, fixes 149, 285)
- Remove `{% nospaceless %}` template tag and remove wrapping template in `{% spaceless %}` **Possible breaking change**, if you use custom templates.

1.0.7

- Explicitly check if `column.verbose_name` is not None to support empty column headers (fixes 280)
- Cleanup the example project to make it work with modern Django versions.
- Do not sort `QuerySet` when `orderable=False` (204 by [bmihelac](https://github.com/bmihelac))
- `show_header` attribute on `Table` allows disabling the header (175 by [kviktor](https://github.com/kviktor))
- `LinkColumn` now tries to call `get_absolute_url` on a record if no `viewname` is provided (283, fixes 231).
- Add `request` argument to `Table.as_html()` to allow passing correct request objects instead of poorly generated ones 282
- Add coverage reporting to build 282
- Drop support for python 3.2 (because of coverage), support ends February 2016 282
- move `build_request` from `django_table2.utils` to `tests.utils` and amend tests 282

1.0.6

- Support for custom text value in `LinkColumn` (277 by [toudi](https://github.com/toudi))
- Refactor `LinkColumn.render_link()` to not escape twice 279
- Removed `Attrs` (wrapper for dict), deprecated on 2012-09-18
- Convert README.md to rst in setup.py to make PyPI look nice (fixes 97)

Page 14 of 20

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.