diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2016-08-16 16:57:14 +0200 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2016-08-16 16:58:35 +0200 |
commit | b1f5bad2ddaebe2dd9943333d7efd131f63896e9 (patch) | |
tree | 2ddde4a8b28819f78b4bdd3c6a2c6f5e1f0434d9 /ishtar_common/widgets.py | |
parent | 399e82dfc7680541820a59951e3f8689198314bc (diff) | |
download | Ishtar-b1f5bad2ddaebe2dd9943333d7efd131f63896e9.tar.bz2 Ishtar-b1f5bad2ddaebe2dd9943333d7efd131f63896e9.zip |
Account management: fix edit - can delete an account (refs #2977)
Diffstat (limited to 'ishtar_common/widgets.py')
-rw-r--r-- | ishtar_common/widgets.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ishtar_common/widgets.py b/ishtar_common/widgets.py index 6d9600d0c..83fb23caf 100644 --- a/ishtar_common/widgets.py +++ b/ishtar_common/widgets.py @@ -539,7 +539,9 @@ class JQueryJqGrid(forms.RadioSelect): col_names = [col_names] for col_name in col_names: field = self.associated_model - keys = col_name.split('.') + keys = col_name.split('__') + if '.' in col_name: + keys = col_name.split('.') f_name = '' for key in keys: if hasattr(field, 'rel') and field.rel: |