From 467b09201e2216892ac649034a6ea29b4db808f7 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Wed, 23 Dec 2015 07:49:59 +0100 Subject: Custom command to manage imports with CLI --- ishtar_common/models.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ishtar_common/models.py') 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, -- cgit v1.2.3