diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2021-06-21 11:42:59 +0200 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2021-06-21 11:42:59 +0200 |
commit | 0a6b8708431eb45fcd426227fa7b54505d6eb668 (patch) | |
tree | 7e3804a3de1bd2ca6e18a3e557036a4d4ef3afe4 /ishtar_common | |
parent | aa6033dea383be81c7ddef058d77f695ef8bea14 (diff) | |
download | Ishtar-0a6b8708431eb45fcd426227fa7b54505d6eb668.tar.bz2 Ishtar-0a6b8708431eb45fcd426227fa7b54505d6eb668.zip |
Context records: auto generate relation tree on insert and update
Diffstat (limited to 'ishtar_common')
-rw-r--r-- | ishtar_common/models.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ishtar_common/models.py b/ishtar_common/models.py index 19c432053..54d809fdd 100644 --- a/ishtar_common/models.py +++ b/ishtar_common/models.py @@ -792,7 +792,7 @@ class GeneralRecordRelations(object): def save(self, *args, **kwargs): super(GeneralRecordRelations, self).save(*args, **kwargs) - # after saving create the symetric or the inverse relation + # after saving create the symmetric or the inverse relation sym_rel_type = self.relation_type if not self.relation_type.symmetrical: |