Skip to content

Commit 7a48a2b

Browse files
committed
Allow modelforms, particularly the admin, to treat joint_with_groups as a optional field. Fixes ietf-tools#3029. Commit ready for merge.
- Legacy-Id: 18206
1 parent 82928b8 commit 7a48a2b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ietf/meeting/models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -934,7 +934,7 @@ class Session(models.Model):
934934
short = models.CharField(blank=True, max_length=32, help_text="Short version of 'name' above, for use in filenames.")
935935
type = ForeignKey(TimeSlotTypeName)
936936
group = ForeignKey(Group) # The group type historically determined the session type. BOFs also need to be added as a group. Note that not all meeting requests have a natural group to associate with.
937-
joint_with_groups = models.ManyToManyField(Group, related_name='sessions_joint_in')
937+
joint_with_groups = models.ManyToManyField(Group, related_name='sessions_joint_in',blank=True)
938938
attendees = models.IntegerField(null=True, blank=True)
939939
agenda_note = models.CharField(blank=True, max_length=255)
940940
requested_duration = models.DurationField(default=datetime.timedelta(0))

0 commit comments

Comments
 (0)