silly error in models
This commit is contained in:
parent
c73b6f6177
commit
31570f7484
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user