Skip to content
Snippets Groups Projects
Commit 62547263 authored by Johannes Raggam's avatar Johannes Raggam
Browse files

fix model, max_length to long for unique

parent 3529cedc
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment