diff options
Diffstat (limited to 'ishtar_common/models.py')
| -rw-r--r-- | ishtar_common/models.py | 8 | 
1 files changed, 8 insertions, 0 deletions
| diff --git a/ishtar_common/models.py b/ishtar_common/models.py index 3b2fca3dd..63ea7d2a8 100644 --- a/ishtar_common/models.py +++ b/ishtar_common/models.py @@ -1416,6 +1416,14 @@ class TargetKey(models.Model):      def __unicode__(self):          return u" - ".join([unicode(self.target), self.key[:50]]) +    def column_nb(self): +        # for the admin +        return self.target.column.col_number + +    def importer_type(self): +        # for the admin +        return self.target.column.importer_type.name +      def format(self):          if not self.is_set:              return None | 
