Slot name needs to be looooooonger
This commit is contained in:
parent
cc05d09f26
commit
cdec6e2258
2 changed files with 21 additions and 1 deletions
20
symposion/schedule/migrations/0005_auto_20161210_1736.py
Normal file
20
symposion/schedule/migrations/0005_auto_20161210_1736.py
Normal 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),
|
||||||
|
),
|
||||||
|
]
|
|
@ -82,7 +82,7 @@ class SlotKind(models.Model):
|
||||||
@python_2_unicode_compatible
|
@python_2_unicode_compatible
|
||||||
class Slot(models.Model):
|
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"))
|
day = models.ForeignKey(Day, verbose_name=_("Day"))
|
||||||
kind = models.ForeignKey(SlotKind, verbose_name=_("Kind"))
|
kind = models.ForeignKey(SlotKind, verbose_name=_("Kind"))
|
||||||
start = models.TimeField(verbose_name=_("Start"))
|
start = models.TimeField(verbose_name=_("Start"))
|
||||||
|
|
Loading…
Reference in a new issue