[Django]-Django Tables adding a LinkColumn / NoReverseMatch Error

3👍

Try:

detail_link = tables.LinkColumn('detail', args=[A('id')], verbose_name='Detail', empty_values=())

According to the docs, render methods are only called if the value for a cell is determined to be not an empty value. Since the Event model does not have a detail_link field, there’s no value given to it.

Leave a comment