From 6254726315246d26eea5cea65016cdc2e41cd6d6 Mon Sep 17 00:00:00 2001
From: Johannes Raggam <raggam-nl@adm.at>
Date: Fri, 2 Dec 2011 10:54:18 +0100
Subject: [PATCH] fix model, max_length to long for unique

---
 program/models.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/program/models.py b/program/models.py
index 28a555b7..78fc3638 100644
--- a/program/models.py
+++ b/program/models.py
@@ -85,7 +85,7 @@ class Show(models.Model):
     showinformation = models.ManyToManyField(ShowInformation, blank=True, null=True, related_name='shows', verbose_name=_("Show information"))
     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, unique=True)
+    name = models.CharField(_("Name"), max_length=255, 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)
-- 
GitLab