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 | 629a414f87da47641653394232ebc08c72299d11 (patch) | |
tree | e897222f388d40684c5951b5f2bff2edca0adc37 /ishtar_common/models.py | |
parent | 25a9131ac22ab0167f83e0ad6ce62e756e37850f (diff) | |
download | Ishtar-629a414f87da47641653394232ebc08c72299d11.tar.bz2 Ishtar-629a414f87da47641653394232ebc08c72299d11.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, |