django tables2 create extra column with links
问题 I am trying to add a extra column to one of my tables, that adds url to another page. My Table: class ItemTable(tables.Table): edit = tables.LinkColumn('item_edit', args=[A('pk')]) class Meta: model = Item fields = ('name', 'slot', 'klass', 'rarity', 'price') my urls: url(r'^admin/item/edit/(?P<item_id>\d+)/$', views.item_edit, name='item_edit') Now with this, i get my table, but the last column (edit) only has dashes + the page crashes when i click the title. i have been looking at http:/