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:
parent
5192440c9e
commit
742ad090fc
20
ietf/meeting/migrations/0060_auto_20180222_1421.py
Normal file
20
ietf/meeting/migrations/0060_auto_20180222_1421.py
Normal 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),
|
||||
),
|
||||
]
|
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue