Skip to content
Snippets Groups Projects
Commit 1ac4db53 authored by Ernesto Rico Schmidt's avatar Ernesto Rico Schmidt Committed by Christian Pointner
Browse files

show id

parent 66a8d7ec
No related branches found
No related tags found
No related merge requests found
...@@ -254,7 +254,7 @@ class Show(models.Model): ...@@ -254,7 +254,7 @@ class Show(models.Model):
verbose_name_plural = _("Shows") verbose_name_plural = _("Shows")
def __unicode__(self): def __unicode__(self):
return u'%s' % self.name return u'%04d | %s' % (self.id, self.name)
def get_absolute_url(self): def get_absolute_url(self):
return reverse('show-detail', args=[self.slug]) return reverse('show-detail', args=[self.slug])
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment