From cdec6e225865c5812d78a4779cf46239f3e11e0b Mon Sep 17 00:00:00 2001 From: Scott Bragg Date: Sat, 10 Dec 2016 17:37:01 +1100 Subject: [PATCH] Slot name needs to be looooooonger --- .../migrations/0005_auto_20161210_1736.py | 20 +++++++++++++++++++ symposion/schedule/models.py | 2 +- 2 files changed, 21 insertions(+), 1 deletion(-) create mode 100644 symposion/schedule/migrations/0005_auto_20161210_1736.py diff --git a/symposion/schedule/migrations/0005_auto_20161210_1736.py b/symposion/schedule/migrations/0005_auto_20161210_1736.py new file mode 100644 index 00000000..e4b5e49d --- /dev/null +++ b/symposion/schedule/migrations/0005_auto_20161210_1736.py @@ -0,0 +1,20 @@ +# -*- coding: utf-8 -*- +# Generated by Django 1.9.7 on 2016-12-10 06:36 +from __future__ import unicode_literals + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('symposion_schedule', '0004_merge'), + ] + + operations = [ + migrations.AlterField( + model_name='slot', + name='name', + field=models.CharField(editable=False, max_length=512), + ), + ] diff --git a/symposion/schedule/models.py b/symposion/schedule/models.py index dd54bc83..5622b844 100644 --- a/symposion/schedule/models.py +++ b/symposion/schedule/models.py @@ -82,7 +82,7 @@ class SlotKind(models.Model): @python_2_unicode_compatible class Slot(models.Model): - name = models.CharField(max_length=150, editable=False) + name = models.CharField(max_length=512, editable=False) day = models.ForeignKey(Day, verbose_name=_("Day")) kind = models.ForeignKey(SlotKind, verbose_name=_("Kind")) start = models.TimeField(verbose_name=_("Start"))