Can anyone provide a clear example of how to create a table object using django-tables2 that selects and presents data from multiple related models (ie a relational join)? The documentation implies this is possible, but does not say how.
In normal django the select_related() function works nicely, but I cannot work out how to implement this in django-tables2. I note there are other unanswered questions on similar topics.
foreigncolumn = tables.Column(accessor='foreignmodel.foreigncolumnname')
in the table definition works a treat. – Bernt