datatracker/ietf/meeting/migrations/0027_urlresource.py
Henrik Levkowetz 7bc8e043f1 Added model UrlResource with FK to Room
This will make it easier to support audio and video streaming links
which vary by meeting, but are fixed by Room. Also added migrations,
resource, admin support, supporting methods, and a bit of refactoring.
 - Legacy-Id: 11644
2016-07-13 13:07:20 +00:00

28 lines
808 B
Python

# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import models, migrations
class Migration(migrations.Migration):
dependencies = [
('name', '0013_add_group_type_verbose_name_data'),
('meeting', '0026_add_floorplan_data'),
]
operations = [
migrations.CreateModel(
name='UrlResource',
fields=[
('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
('url', models.URLField(null=True, blank=True)),
('name', models.ForeignKey(to='name.RoomResourceName')),
('room', models.ForeignKey(to='meeting.Room')),
],
options={
},
bases=(models.Model,),
),
]