summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErnesto Rico-Schmidt <e.rico.schmidt@gmail.com>2011-03-20 17:34:47 (GMT)
committerErnesto Rico-Schmidt <e.rico.schmidt@gmail.com>2011-03-20 17:34:47 (GMT)
commitae030299ed35505c6b8ace65508035576f45043b (patch)
tree91ea8400131eca21ae7d00e626e27ea811bfcc1e
parent3c871b250462803061f53eb63298d12f00f57a37 (diff)
fixed field compatibility issue with MySQL.
-rw-r--r--program/models.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/models.py b/program/models.py
index e354834..37cf904 100644
--- a/program/models.py
+++ b/program/models.py
@@ -83,7 +83,7 @@ class Show(models.Model):
showtopic = models.ManyToManyField(ShowTopic, blank=True, null=True, related_name='shows', verbose_name=_("Show topic"))
musicfocus = models.ManyToManyField(MusicFocus, blank=True, null=True, related_name='shows', verbose_name=_("Music focus"))
name = models.CharField(_("Name"), max_length=256)
- slug = models.CharField(_("Slug"), max_length=256, unique=True)
+ slug = models.CharField(_("Slug"), max_length=255, unique=True)
image = models.ImageField(_("Image"), blank=True, null=True, upload_to='show_images')
short_description = models.CharField(_("Short description"), max_length=64)
description = models.TextField(_("Description"))