I just read the folowing article and i would like more information about the first method using TemplateColumn. I would like to produce two pseudo columns for edit and delete methods of each record.
edit.html
> <a href="{% url some_url_edit record.pk %}" class="tbl_icon
> edit">Edit</a>
delete.html
> <a href="{% url some_url_del record.pk %}" class="tbl_icon
> delete">Delete</a>
2 pseudo columns that does not exist in DB
class MyTable(tables.Table):
column_edit = tables.TemplateColumn(edit.html) column_delete=tables.TemplateColumn(delete.html)
If that is correct according to the article how record.pk is passed on every template to get the required information about its key?