Skip to content

Commit 34ca594

Browse files
committed
Merged in [18206] from rjsparks@nostrum.com:
Allow modelforms, particularly the admin, to treat joint_with_groups as a optional field. Fixes ietf-tools#3029. - Legacy-Id: 18216 Note: SVN reference [18206] has been migrated to Git commit 7a48a2b
2 parents 068493d + 7a48a2b commit 34ca594

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)