From 0c7ac95cf9c104c3f97f026f5806e8f9ea03f3c6 Mon Sep 17 00:00:00 2001 From: Benjamin Dauvergne Date: Sat, 31 Mar 2018 11:39:42 +0200 Subject: [PATCH] dj11: make table.html compatible with dj11 and django-tables2 (fixes #22946) --- fargo/templates/fargo/table.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fargo/templates/fargo/table.html b/fargo/templates/fargo/table.html index 1b08d1f..d1dbdab 100644 --- a/fargo/templates/fargo/table.html +++ b/fargo/templates/fargo/table.html @@ -36,7 +36,7 @@ {% endwith %} {% block action-column %} - {% if include_edit_link %} + {% if table.context.include_edit_link or include_edit_link %} {% endif %} {% if row.record.deletable_by_user %} -- 2.16.3