diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2019-04-30 13:35:51 +0200 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2019-06-17 13:21:27 +0200 |
commit | ed3f985309bc265e07d30f7d6df375b2800c57ea (patch) | |
tree | 78ef660a5c7c814e1f2d207276c908f3e9f6e25b /ishtar_common/widgets.py | |
parent | 909f30658bd76f338a21108d770edca517683cc2 (diff) | |
download | Ishtar-ed3f985309bc265e07d30f7d6df375b2800c57ea.tar.bz2 Ishtar-ed3f985309bc265e07d30f7d6df375b2800c57ea.zip |
Label generation: label generation available at the bottom of tables
Diffstat (limited to 'ishtar_common/widgets.py')
-rw-r--r-- | ishtar_common/widgets.py | 1 |
1 files changed, 1 insertions, 0 deletions
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__) |