diff options
Diffstat (limited to 'ishtar_common/models.py')
-rw-r--r-- | ishtar_common/models.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ishtar_common/models.py b/ishtar_common/models.py index 1e878d2a1..bbd2923a0 100644 --- a/ishtar_common/models.py +++ b/ishtar_common/models.py @@ -728,8 +728,8 @@ class BaseHistorizedItem(Imported): class GeneralRelationType(GeneralType): order = models.IntegerField(_(u"Order"), default=1) symmetrical = models.BooleanField(_(u"Symmetrical")) - short_label = models.CharField(_(u"Short label"), max_length=100, - blank=True, null=True) + 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, @@ -744,8 +744,8 @@ class GeneralRelationType(GeneralType): raise ValidationError( _(u"Cannot have symmetrical and an inverse_relation")) - def get_short_label(self): - return self.short_label or self.label or u"" + def get_tiny_label(self): + return self.tiny_label or self.label or u"" def save(self, *args, **kwargs): obj = super(GeneralRelationType, self).save(*args, **kwargs) |