diff options
author | Johannes Raggam <raggam-nl@adm.at> | 2011-12-02 09:54:18 (GMT) |
---|---|---|
committer | Johannes Raggam <raggam-nl@adm.at> | 2011-12-02 09:54:18 (GMT) |
commit | 6254726315246d26eea5cea65016cdc2e41cd6d6 (patch) | |
tree | b9544a3bf59421f2b52d0019678fa04cb9beb742 /program | |
parent | 3529cedc89adffd7c2fa3199e7866af00dac561f (diff) |
fix model, max_length to long for unique
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 28a555b..78fc363 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) |