diff options
author | Ernesto Rico-Schmidt <e.rico.schmidt@gmail.com> | 2011-03-20 17:34:47 (GMT) |
---|---|---|
committer | Ernesto Rico-Schmidt <e.rico.schmidt@gmail.com> | 2011-03-20 17:34:47 (GMT) |
commit | ae030299ed35505c6b8ace65508035576f45043b (patch) | |
tree | 91ea8400131eca21ae7d00e626e27ea811bfcc1e /program | |
parent | 3c871b250462803061f53eb63298d12f00f57a37 (diff) |
fixed field compatibility issue with MySQL.
Diffstat (limited to 'program')
-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 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")) |