summaryrefslogtreecommitdiff
path: root/program
diff options
context:
space:
mode:
authorErnesto Rico-Schmidt <e.rico.schmidt@gmail.com>2012-02-15 17:55:41 (GMT)
committerErnesto Rico-Schmidt <e.rico.schmidt@gmail.com>2012-02-15 17:55:41 (GMT)
commit6c7e6bc10c98d7619e2cae5c0694e73e14730573 (patch)
treeb277693209cd7d7a91e05b2854f7e59a56dac403 /program
parent394dd123840823c0bd65621dabdb12c9bf228383 (diff)
made Show name not unique anymore.
Diffstat (limited to 'program')
-rw-r--r--program/models.py2
1 files changed, 1 insertions, 1 deletions
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)