From 1ac4db5369b990d020d2ec59209952a641dedaf5 Mon Sep 17 00:00:00 2001 From: Ernesto Rico-Schmidt Date: Fri, 27 May 2016 20:56:38 +0200 Subject: show id diff --git a/program/models.py b/program/models.py index 7f9d665..97324b1 100644 --- a/program/models.py +++ b/program/models.py @@ -254,7 +254,7 @@ class Show(models.Model): verbose_name_plural = _("Shows") def __unicode__(self): - return u'%s' % self.name + return u'%04d | %s' % (self.id, self.name) def get_absolute_url(self): return reverse('show-detail', args=[self.slug]) -- cgit v0.10.2