Skip to content

Commit f7f3e8b

Browse files
committed
Update comments
- Legacy-Id: 3668
1 parent 9c639b3 commit f7f3e8b

1 file changed

Lines changed: 9 additions & 5 deletions

File tree

ietf/meeting/models.py

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -78,11 +78,11 @@ def __unicode__(self):
7878

7979
class TimeSlot(models.Model):
8080
"""
81-
Everything that would appear on the meeting agenda of a meeting is mapped
82-
to a time slot, including breaks (i.e., also NonSession+NonSessionRef.
83-
Sessions are connected to TimeSlots during scheduling.
84-
A template function to populate a meeting with an appropriate set of TimeSlots
85-
is probably also needed.
81+
Everything that would appear on the meeting agenda of a meeting is
82+
mapped to a time slot, including breaks. Sessions are connected to
83+
TimeSlots during scheduling. A template function to populate a
84+
meeting with an appropriate set of TimeSlots is probably also
85+
needed.
8686
"""
8787
meeting = models.ForeignKey(Meeting)
8888
type = models.ForeignKey(TimeSlotTypeName)
@@ -129,6 +129,10 @@ def __unicode__(self):
129129
return u"%s %s %s" % (self.source, self.name.lower(), self.target)
130130

131131
class Session(models.Model):
132+
"""Session records that a group should have a session on the
133+
meeting (the actual period of time and location is stored in
134+
TimeSlot) - if multiple timeslots are needed, multiple sessions
135+
will have to be created."""
132136
meeting = models.ForeignKey(Meeting)
133137
group = models.ForeignKey(Group) # The group type determines the session type. BOFs also need to be added as a group.
134138
attendees = models.IntegerField(null=True, blank=True)

0 commit comments

Comments
 (0)