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

2.0.0a4

- Add `linkify` keyword argument to all columns, to allow wrapping the content in a `<a>` tag.
It accepts one of these ways to define the link:
- `True` to use the record return value of `record.get_absolute_url()`,
- a callable to use its return value
- a dict which is passed on to `django.urls.reverse()`
- a (viewname, args) or (viewname, kwargs)-tuple which is also passed on to `django.urls.reverse()`.
Implementation should be backwards compatible, so all use of `LinkColumn` and `RelatedLinkColum` should still work. [590](https://github.com/jieter/django-tables2/pull/590)

2.0.0a3

Hello from [DjangoCon Europe](https://2018.djangocon.eu/)!

- Fix table prefix being overwritten in `MultiTableView`, [576](https://github.com/jieter/django-tables2/pull/576) by [ETinLV](https://github.com/ETinLV), (fixes [#572](https://github.com/jieter/django-tables2/issues/572))
- Fix `empty_text` cannot be translated (fixes [579](https://github.com/jieter/django-tables2/issues/579))

2.0.0a2

- Another round of template cleanup.
- Fresh screenshots
- Prevent crash in `RelatedLinkColumn` for records without `get_absolute_url()`.
- Raise `ValueError` when `Table.Meta.model != QuerySet.Model`.
- Raise `TypeError` when incorrect types are used for `Table.Meta` attributes (fixes [517](https://github.com/jieter/django-tables2/issues/517))
- Fix: `Table.Meta.sequence` with `extra_columns` can leads to `KeyError` (fixes [486](https://github.com/jieter/django-tables2/issues/486))

2.0.0a1

- Fixed translation of 'previous' for some languages (fixes [563](https://github.com/jieter/django-tables2/issues/563))

2.0.0a0

- Cleaned up templates to add consistency in what is presented across all templates.
- Added bootstrap4.html template
- Fixed translation inconsistencies.

1.21.2

- Moved table instantiation from `get_context_data` to `get_tables` [554](https://github.com/jieter/django-tables2/pull/554) by [sdolemelipone](https://github.com/sdolemelipone)
- Pass request as kwarg to `template.render()`, rather than as part of context. (fixes [552](https://github.com/jieter/django-tables2/issues/552))

Page 6 of 20

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.