diff options
| author | Étienne Loks <etienne.loks@iggdrasil.net> | 2026-04-07 10:57:49 +0200 |
|---|---|---|
| committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2026-04-07 19:25:04 +0200 |
| commit | 1515521ec11a29fa463bb0988d1663b6a8cb03ea (patch) | |
| tree | ff9abe6df7d63f3ce92f1f90cf63f160ba99afd0 /ishtar_common | |
| parent | 5274764a21a4906f13808309fbdd446cf40861f7 (diff) | |
| download | Ishtar-1515521ec11a29fa463bb0988d1663b6a8cb03ea.tar.bz2 Ishtar-1515521ec11a29fa463bb0988d1663b6a8cb03ea.zip | |
🗃️ update default data for find relation typesdevelop-5.0-BPCdevelop-5.0
Diffstat (limited to 'ishtar_common')
| -rw-r--r-- | ishtar_common/models.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ishtar_common/models.py b/ishtar_common/models.py index 5b06baba2..2d00f3455 100644 --- a/ishtar_common/models.py +++ b/ishtar_common/models.py @@ -887,6 +887,9 @@ class GeneralRecordRelations(Imported): class Meta: abstract = True + def __str__(self): + return f"{self.left_record} - {self.relation_type} - {self.right_record}" + @classmethod def general_types(cls): return ["relation_type"] |
