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

2.3.0

- Add ability to pass `tablib.Dataset` `kwargs` via `TableExport` and `ExportMixin` [720](https://github.com/jieter/django-tables2/pull/720) by [powderflask](https://github.com/powderflask)
- Drop django==2.1 support, add optional tablib requirements [738](https://github.com/jieter/django-tables2/pull/738)
- Short-circuit `Accessor.resolve()` if the context contains the exact accessor [722](https://github.com/jieter/django-tables2/pull/722), fixes [#717](https://github.com/jieter/django-tables2/issues/717)
- Fixed yaml export [732](https://github.com/jieter/django-tables2/pull/732) by [sg3-141-592](https://githug.com/sg3-141-592)
- Made Table docstring visible in docs [742](https://github.com/jieter/django-tables2/pull/742)
- Removed the TableBase construct in favor of using the `metaclass` keyword argument, as all supported python versions support it. [742](https://github.com/jieter/django-tables2/pull/742)
- `LazyPaginator` with non-existent page number should not result in a crash [741](https://github.com/jieter/django-tables2/pull/741)

2.2.1

- Fix backwards-compatibility with legacy separators in order_by clauses ([715](https://github.com/jieter/django-tables2/pull/715) by [federicobond](https://github.com/federicobond))

2.2.0

- Use `__` as accessor-separator, add `linkify` Meta option [702](https://github.com/jieter/django-tables2/pull/702)).
This will currently emit a warning but falls back to using `.` as separator. The next major version will raise a `ValueError` if used with `.` as separator.
- Add request attribute to table instance ([705](https://github.com/jieter/django-tables2/pull/705) by [rubickcz](https://github.com/rubickcz)).
- Append ellipsis for `LazyPaginator` if not on last page ([707](https://github.com/jieter/django-tables2/pull/707) by [tuky](https://github.com/tuky))

2.1.1

- Made `ManyToManyColumn` use `table.default` instead of a local value [680](https://github.com/jieter/django-tables2/pull/680) by [srtab](https://github.com/srtab)
- Removed invalid scope attribute in `<tr>` element of `bootstrap4.html`. [691](https://github.com/jieter/django-tables2/pull/691) by [vlt](https://github.com/vlt)
- Fixed an issue with incorrectly disabled pagination where `SingleTableMixin` was not used together with `ListView` [678](https://github.com/jieter/django-tables2/pull/678) by [nieuwenhuys](https://github.com/nieuwenhuys)

2.1.0

- Dropped support for python 2.7 (and django 1.11).
- Removed `django_tables2.utils.ucfirst`, use `django.utils.text.capfirst` instead.
- Removed `class="thead-default"` from bootstrap4 template ([671](https://github.com/jieter/django-tables2/issues/671))
- Included columns with `visible=False` in export ([677](https://github.com/jieter/django-tables2/pull/677))
- Fixed pagination when the number of pages is equal to page range plus one ([655](https://github.com/jieter/django-tables2/pull/655))

2.0.6

- Add optional 'table' kwarg to `row_attrs` callables

Page 3 of 20

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.