diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2018-08-10 17:59:44 +0200 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2018-08-13 18:26:04 +0200 |
commit | 1ee3cc6e7f0b0d6207d065b155ed77bfbb5ad5c4 (patch) | |
tree | 04f21ad44a463b7e9677f56f9243b7e5de228811 /ishtar_common/models.py | |
parent | 1d94279572cd21e9d126ac73f6f13dad91c59c23 (diff) | |
download | Ishtar-1ee3cc6e7f0b0d6207d065b155ed77bfbb5ad5c4.tar.bz2 Ishtar-1ee3cc6e7f0b0d6207d065b155ed77bfbb5ad5c4.zip |
Context record search configuration
Diffstat (limited to 'ishtar_common/models.py')
-rw-r--r-- | ishtar_common/models.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ishtar_common/models.py b/ishtar_common/models.py index cb225d0f6..c43dca279 100644 --- a/ishtar_common/models.py +++ b/ishtar_common/models.py @@ -1540,6 +1540,10 @@ class GeneralRelationType(GeneralType): class GeneralRecordRelations(object): + @classmethod + def general_types(cls): + return ['relation_type'] + def save(self, *args, **kwargs): super(GeneralRecordRelations, self).save(*args, **kwargs) |