From b887f95063ad3d5d9b496edbffe04ed7a24f2670 Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Thu, 9 May 2013 22:41:02 +0200 Subject: [PATCH] Return the better artist name. --- data/models.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/data/models.py b/data/models.py index 5e0cc94..f5eacf8 100644 --- a/data/models.py +++ b/data/models.py @@ -46,7 +46,7 @@ class TrackArtist(models.Model): order = models.IntegerField() def __unicode__(self): - return self.artist.name + return self.artist.__unicode__() class Meta: ordering = ['order'] @@ -57,7 +57,7 @@ class RemixArtist(models.Model): order = models.IntegerField() def __unicode__(self): - return self.artist.name + return self.artist.__unicode__() class Meta: ordering = ['order'] -- 2.7.4