From ae030299ed35505c6b8ace65508035576f45043b Mon Sep 17 00:00:00 2001 From: Ernesto Rico-Schmidt Date: Sun, 20 Mar 2011 18:34:47 +0100 Subject: fixed field compatibility issue with MySQL. 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")) -- cgit v0.10.2