Changed the floorplan short string from 2 to 3 characters, in order to support things like London Hilton Metropole's level -3E, 3rd lower ground floor East.

- Legacy-Id: 14685
This commit is contained in:
Henrik Levkowetz 2018-02-22 22:40:56 +00:00
parent 5192440c9e
commit 742ad090fc
2 changed files with 21 additions and 1 deletions

View file

@ -0,0 +1,20 @@
# -*- coding: utf-8 -*-
# Generated by Django 1.10.8 on 2018-02-22 14:21
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('meeting', '0059_meeting_show_important_dates'),
]
operations = [
migrations.AlterField(
model_name='floorplan',
name='short',
field=models.CharField(default=b'', max_length=3),
),
]

View file

@ -390,7 +390,7 @@ def floorplan_path(instance, filename):
class FloorPlan(models.Model):
name = models.CharField(max_length=255)
short = models.CharField(max_length=2, default='')
short = models.CharField(max_length=3, default='')
time = models.DateTimeField(default=datetime.datetime.now)
meeting = models.ForeignKey(Meeting)
order = models.SmallIntegerField()