@@ -179,16 +179,16 @@ def build_timeslices(self):
179179
180180 # this functions makes a list of timeslices and rooms, and
181181 # makes sure that all schedules have all of them.
182- def create_all_timeslots (self ):
183- alltimeslots = self .timeslot_set .all ()
184- for sched in self .schedule_set .all ():
185- ts_hash = {}
186- for ss in sched .scheduledsession_set .all ():
187- ts_hash [ss .timeslot ] = ss
188- for ts in alltimeslots :
189- if not (ts in ts_hash ):
190- ScheduledSession .objects .create (schedule = sched ,
191- timeslot = ts )
182+ # def create_all_timeslots(self):
183+ # alltimeslots = self.timeslot_set.all()
184+ # for sched in self.schedule_set.all():
185+ # ts_hash = {}
186+ # for ss in sched.scheduledsession_set.all():
187+ # ts_hash[ss.timeslot] = ss
188+ # for ts in alltimeslots:
189+ # if not (ts in ts_hash):
190+ # ScheduledSession.objects.create(schedule = sched,
191+ # timeslot = ts)
192192
193193 def vtimezone (self ):
194194 if self .time_zone :
@@ -265,7 +265,7 @@ def create_timeslots(self):
265265 time = ts .time ,
266266 location = self ,
267267 duration = ts .duration )
268- self .meeting .create_all_timeslots ()
268+ # self.meeting.create_all_timeslots()
269269
270270 def domid (self ):
271271 return "room%u" % (self .pk )
@@ -411,7 +411,7 @@ def create_concurrent_timeslots(self):
411411 ts .location = room
412412 ts .save ()
413413
414- self .meeting .create_all_timeslots ()
414+ # self.meeting.create_all_timeslots()
415415
416416 """
417417 This routine deletes all timeslots which are in the same time as this slot.
0 commit comments