From ed3f985309bc265e07d30f7d6df375b2800c57ea Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Tue, 30 Apr 2019 13:35:51 +0200 Subject: Label generation: label generation available at the bottom of tables --- ishtar_common/widgets.py | 1 + 1 file changed, 1 insertion(+) (limited to 'ishtar_common/widgets.py') diff --git a/ishtar_common/widgets.py b/ishtar_common/widgets.py index 3d69ff117..5b5f44477 100644 --- a/ishtar_common/widgets.py +++ b/ishtar_common/widgets.py @@ -1089,6 +1089,7 @@ class DataTable(Select2Media, forms.RadioSelect): dct['extra_sources'] = [] dct['quick_actions'] = [] if self.associated_model: + dct['current_model'] = self.associated_model model_name = "{}.{}".format( self.associated_model.__module__, self.associated_model.__name__) -- cgit v1.2.3