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 | 9a80d61b0cf5fa159beb6864b99446a44aff5476 (patch) | |
tree | 78ef660a5c7c814e1f2d207276c908f3e9f6e25b /ishtar_common/widgets.py | |
parent | f7eb29db4d43080dcb87994a18a2be7a2a07c622 (diff) | |
download | Ishtar-9a80d61b0cf5fa159beb6864b99446a44aff5476.tar.bz2 Ishtar-9a80d61b0cf5fa159beb6864b99446a44aff5476.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__) |