Skip to content

Commit 73df0ba

Browse files
committed
Merged in [13303] from rcross@amsl.com:
Fixes ietf-tools#2211. Session admin edit fails if no resources selected. - Legacy-Id: 13319 Note: SVN reference [13303] has been migrated to Git commit 9ba73e7
2 parents b7fba37 + 9ba73e7 commit 73df0ba

2 files changed

Lines changed: 21 additions & 1 deletion

File tree

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# -*- coding: utf-8 -*-
2+
# Generated by Django 1.10.7 on 2017-05-11 04:49
3+
from __future__ import unicode_literals
4+
5+
from django.db import migrations, models
6+
7+
8+
class Migration(migrations.Migration):
9+
10+
dependencies = [
11+
('meeting', '0050_add_room_resources'),
12+
]
13+
14+
operations = [
15+
migrations.AlterField(
16+
model_name='session',
17+
name='resources',
18+
field=models.ManyToManyField(blank=True, to='meeting.ResourceAssociation'),
19+
),
20+
]

ietf/meeting/models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -917,7 +917,7 @@ class Session(models.Model):
917917
remote_instructions = models.CharField(blank=True,max_length=1024)
918918

919919
materials = models.ManyToManyField(Document, through=SessionPresentation, blank=True)
920-
resources = models.ManyToManyField(ResourceAssociation)
920+
resources = models.ManyToManyField(ResourceAssociation, blank=True)
921921

922922
unique_constraints_dict = None
923923

0 commit comments

Comments
 (0)