silly error in models

This commit is contained in:
sanj 2010-11-30 15:36:54 +01:00
parent c73b6f6177
commit 31570f7484

View File

@ -157,7 +157,7 @@ class Audio(models.Model):
flyover = models.ForeignKey(Flyover) flyover = models.ForeignKey(Flyover)
def __unicode__(self): def __unicode__(self):
return self.url + " - " + self.caption + " - " + self.category.name return self.caption + " - " + self.category.name
class AudioCategory(models.Model): class AudioCategory(models.Model):
name = models.CharField(max_length=255) name = models.CharField(max_length=255)