Slot name needs to be looooooonger

This commit is contained in:
Scott Bragg 2016-12-10 17:37:01 +11:00
parent cc05d09f26
commit cdec6e2258
2 changed files with 21 additions and 1 deletions

View file

@ -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),
),
]

View file

@ -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"))