From: David ‘Bombe’ Roden Date: Thu, 9 May 2013 20:41:02 +0000 (+0200) Subject: Return the better artist name. X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=b887f95063ad3d5d9b496edbffe04ed7a24f2670;p=demoscenemusic.git Return the better artist name. --- 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']