From 5e70cc61b723fb36e0da14abb6c8de58a18162d5 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Wed, 2 Aug 2017 19:29:11 +0200 Subject: Admin - ishtar common: use ajax selects for some fields - clean and simplify --- ishtar_common/models.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'ishtar_common/models.py') diff --git a/ishtar_common/models.py b/ishtar_common/models.py index 01b46b7ae..5afde8ffb 100644 --- a/ishtar_common/models.py +++ b/ishtar_common/models.py @@ -2956,6 +2956,9 @@ class IshtarUser(models.Model): verbose_name = _(u"Ishtar user") verbose_name_plural = _(u"Ishtar users") + def __unicode__(self): + return unicode(self.person) + @classmethod def set_superuser(cls, user): q = cls.objects.filter(user_ptr=user) -- cgit v1.2.3