From 02d7066c443d30d4d27e3e9589d41c5452160166 Mon Sep 17 00:00:00 2001 From: Scott Bragg Date: Sun, 13 Nov 2016 15:31:08 +1100 Subject: [PATCH] Increase slot name since it's made up of room names and our room names are long. --- .../migrations/0003_auto_20161113_1530.py | 20 +++++++++++++++++++ symposion/schedule/models.py | 2 +- 2 files changed, 21 insertions(+), 1 deletion(-) create mode 100644 symposion/schedule/migrations/0003_auto_20161113_1530.py diff --git a/symposion/schedule/migrations/0003_auto_20161113_1530.py b/symposion/schedule/migrations/0003_auto_20161113_1530.py new file mode 100644 index 00000000..61f02b21 --- /dev/null +++ b/symposion/schedule/migrations/0003_auto_20161113_1530.py @@ -0,0 +1,20 @@ +# -*- coding: utf-8 -*- +# Generated by Django 1.9.7 on 2016-11-13 04:30 +from __future__ import unicode_literals + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('symposion_schedule', '0002_presentation_unpublish'), + ] + + operations = [ + migrations.AlterField( + model_name='slot', + name='name', + field=models.CharField(editable=False, max_length=150), + ), + ] diff --git a/symposion/schedule/models.py b/symposion/schedule/models.py index cfa36662..9f6a170c 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=100, editable=False) + name = models.CharField(max_length=150, editable=False) day = models.ForeignKey(Day, verbose_name=_("Day")) kind = models.ForeignKey(SlotKind, verbose_name=_("Kind")) start = models.TimeField(verbose_name=_("Start"))