diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2019-07-08 12:11:24 +0200 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2019-07-08 12:11:24 +0200 |
commit | 182f4b4f233986bda0fc277ba7bbc9c71d8de692 (patch) | |
tree | b91e67d5beb271ba3bfc8a059dddab74d4fc7c53 /ishtar_common/views_item.py | |
parent | 3c978a2d8a65ec06f6f0ccb910ca32d53cf5a8c2 (diff) | |
download | Ishtar-182f4b4f233986bda0fc277ba7bbc9c71d8de692.tar.bz2 Ishtar-182f4b4f233986bda0fc277ba7bbc9c71d8de692.zip |
Graph generation: refactor view - add an option in profile
Diffstat (limited to 'ishtar_common/views_item.py')
-rw-r--r-- | ishtar_common/views_item.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ishtar_common/views_item.py b/ishtar_common/views_item.py index 799292969..40f74396f 100644 --- a/ishtar_common/views_item.py +++ b/ishtar_common/views_item.py @@ -202,7 +202,7 @@ def show_item(model, name, extra_dct=None, model_for_perms=None): dct['PROFILE'] = profile dct['CURRENCY'] = profile.currency dct['ENCODING'] = settings.ENCODING - dct['DOT_GENERATION'] = settings.DOT_BINARY and True + dct['DOT_GENERATION'] = settings.DOT_BINARY and profile.relation_graph dct['current_window_url'] = url_name date = None if 'date' in dct: |