diff options
| author | Étienne Loks <etienne.loks@proxience.com> | 2015-12-23 07:49:59 +0100 | 
|---|---|---|
| committer | Étienne Loks <etienne.loks@proxience.com> | 2015-12-23 07:49:59 +0100 | 
| commit | 467b09201e2216892ac649034a6ea29b4db808f7 (patch) | |
| tree | e897222f388d40684c5951b5f2bff2edca0adc37 /ishtar_common/models.py | |
| parent | b10f1833c7b8586706a1c9d7be9e8a37cd221ef3 (diff) | |
| download | Ishtar-467b09201e2216892ac649034a6ea29b4db808f7.tar.bz2 Ishtar-467b09201e2216892ac649034a6ea29b4db808f7.zip | |
Custom command to manage imports with CLI
Diffstat (limited to 'ishtar_common/models.py')
| -rw-r--r-- | ishtar_common/models.py | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/ishtar_common/models.py b/ishtar_common/models.py index 20b8a6f46..c657f532d 100644 --- a/ishtar_common/models.py +++ b/ishtar_common/models.py @@ -1690,8 +1690,8 @@ class Import(models.Model):          verbose_name_plural = _(u"Imports")      def __unicode__(self): -        return u"%s - %s" % (unicode(self.importer_type), -                             unicode(self.user)) +        return u"%s - %s - %d" % (unicode(self.importer_type), +                                  unicode(self.user), self.pk)      def need_matching(self):          return bool(TargetKey.objects.filter(associated_import=self, | 
