diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2017-08-02 19:29:11 +0200 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2017-08-02 19:29:11 +0200 |
commit | 5e70cc61b723fb36e0da14abb6c8de58a18162d5 (patch) | |
tree | cf98515d86721212915cb6cb00cb41d8e3f9c574 /ishtar_common/models.py | |
parent | ba6c73260563fcc6b8a0164e55b13a3eb48e9205 (diff) | |
download | Ishtar-5e70cc61b723fb36e0da14abb6c8de58a18162d5.tar.bz2 Ishtar-5e70cc61b723fb36e0da14abb6c8de58a18162d5.zip |
Admin - ishtar common: use ajax selects for some fields - clean and simplify
Diffstat (limited to 'ishtar_common/models.py')
-rw-r--r-- | ishtar_common/models.py | 3 |
1 files changed, 3 insertions, 0 deletions
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) |