summaryrefslogtreecommitdiff
path: root/ishtar_common/models.py
diff options
context:
space:
mode:
Diffstat (limited to 'ishtar_common/models.py')
-rw-r--r--ishtar_common/models.py7
1 files changed, 3 insertions, 4 deletions
diff --git a/ishtar_common/models.py b/ishtar_common/models.py
index b3fba3b1f..c2f75aba3 100644
--- a/ishtar_common/models.py
+++ b/ishtar_common/models.py
@@ -1066,10 +1066,9 @@ class GeneralRelationType(GeneralType):
symmetrical = models.BooleanField(_(u"Symmetrical"))
tiny_label = models.CharField(_(u"Tiny label"), max_length=50,
blank=True, null=True)
- # # an inverse must be set
- # inverse_relation = models.ForeignKey(
- # 'RelationType', verbose_name=_(u"Inverse relation"), blank=True,
- # null=True)
+ inverse_relation = models.ForeignKey(
+ 'self', verbose_name=_(u"Inverse relation"), blank=True,
+ null=True)
class Meta:
abstract = True