From b507cece1e9008da78689b642998ab85f26a4743 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rapha=C3=ABl=20Barrois?= Date: Sat, 2 Feb 2013 13:17:21 +0100 Subject: [PATCH] group: add __unicode__. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Raphaël Barrois --- xnet/group/models.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/xnet/group/models.py b/xnet/group/models.py index f8e5cb4..b544387 100644 --- a/xnet/group/models.py +++ b/xnet/group/models.py @@ -43,3 +43,6 @@ class Group(models.Model): class Meta: verbose_name = _(u"group") verbose_name_plural = _(u"groups") + + def __unicode__(self): + return self.name -- 2.1.4