From 6c7e6bc10c98d7619e2cae5c0694e73e14730573 Mon Sep 17 00:00:00 2001 From: Ernesto Rico-Schmidt Date: Wed, 15 Feb 2012 18:55:41 +0100 Subject: made Show name not unique anymore. diff --git a/program/models.py b/program/models.py index cb52419..2818c5a 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=255, unique=True) + name = models.CharField(_("Name"), max_length=255) 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) -- cgit v0.10.2