Tables2Mixin¶
- class djcrud.views.tables2.Tables2Mixin[source]¶
Bases:
objectdjango-tables2 integration for list views.
- property table_fields¶
Column names from clone or auto-detected model fields.
- property table¶
Rendered django-tables2
Tablefor the current object list.
- property add_actions¶
Whether to add an per-row actions column.
- property add_checkbox¶
Whether to add list-action selection checkboxes.
When true, a
CheckboxColumnis inserted. Checkboxes are only emitted for rows that have at least one allowed list action (computed per-row viaget_tagged_views(..., object=record)), and carrydata-list-actionsso the bar can filter actions client-side.