diff options
author | Ernesto Rico-Schmidt <e.rico.schmidt@gmail.com> | 2016-05-27 18:56:38 (GMT) |
---|---|---|
committer | Christian Pointner <equinox@helsinki.at> | 2016-05-27 19:43:29 (GMT) |
commit | 1ac4db5369b990d020d2ec59209952a641dedaf5 (patch) | |
tree | ac6168aadfc43e42df86a6453309004b6e95f978 | |
parent | 66a8d7ec50ac949d0cc3b14f9d76f35eb4f4d553 (diff) |
show id
-rw-r--r-- | program/models.py | 2 |
1 files changed, 1 insertions, 1 deletions
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]) |