From 0a6b8708431eb45fcd426227fa7b54505d6eb668 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Mon, 21 Jun 2021 11:42:59 +0200 Subject: Context records: auto generate relation tree on insert and update --- ishtar_common/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ishtar_common') 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: -- cgit v1.2.3