diff options
author | Ernesto Rico-Schmidt <e.rico.schmidt@gmail.com> | 2012-02-15 17:55:41 (GMT) |
---|---|---|
committer | Ernesto Rico-Schmidt <e.rico.schmidt@gmail.com> | 2012-02-15 17:55:41 (GMT) |
commit | 6c7e6bc10c98d7619e2cae5c0694e73e14730573 (patch) | |
tree | b277693209cd7d7a91e05b2854f7e59a56dac403 | |
parent | 394dd123840823c0bd65621dabdb12c9bf228383 (diff) |
made Show name not unique anymore.
-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 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) |