From f7f3e8b14a94d1cca8099ccdfb805e12efc5e1d0 Mon Sep 17 00:00:00 2001 From: Ole Laursen Date: Thu, 17 Nov 2011 15:24:33 +0000 Subject: [PATCH] Update comments - Legacy-Id: 3668 --- ietf/meeting/models.py | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/ietf/meeting/models.py b/ietf/meeting/models.py index 633e788ce..20f4aafb2 100644 --- a/ietf/meeting/models.py +++ b/ietf/meeting/models.py @@ -78,11 +78,11 @@ class Room(models.Model): class TimeSlot(models.Model): """ - Everything that would appear on the meeting agenda of a meeting is mapped - to a time slot, including breaks (i.e., also NonSession+NonSessionRef. - Sessions are connected to TimeSlots during scheduling. - A template function to populate a meeting with an appropriate set of TimeSlots - is probably also needed. + Everything that would appear on the meeting agenda of a meeting is + mapped to a time slot, including breaks. Sessions are connected to + TimeSlots during scheduling. A template function to populate a + meeting with an appropriate set of TimeSlots is probably also + needed. """ meeting = models.ForeignKey(Meeting) type = models.ForeignKey(TimeSlotTypeName) @@ -129,6 +129,10 @@ class Constraint(models.Model): return u"%s %s %s" % (self.source, self.name.lower(), self.target) class Session(models.Model): + """Session records that a group should have a session on the + meeting (the actual period of time and location is stored in + TimeSlot) - if multiple timeslots are needed, multiple sessions + will have to be created.""" meeting = models.ForeignKey(Meeting) group = models.ForeignKey(Group) # The group type determines the session type. BOFs also need to be added as a group. attendees = models.IntegerField(null=True, blank=True)