@@ -73,7 +73,7 @@ def get_areas():
7373
7474# get list of areas that are referenced.
7575def get_area_list_from_sessions (assignments , num ):
76- return assignments .filter (timeslot__type = 'Session ' ,
76+ return assignments .filter (timeslot__type = 'regular ' ,
7777 session__group__parent__isnull = False ).order_by (
7878 'session__group__parent__acronym' ).distinct ().values_list (
7979 'session__group__parent__acronym' ,flat = True )
@@ -82,7 +82,7 @@ def build_all_agenda_slices(meeting):
8282 time_slices = []
8383 date_slices = {}
8484
85- for ts in meeting .timeslot_set .filter (type__in = ['session ' ,]).order_by ('time' ,'name' ):
85+ for ts in meeting .timeslot_set .filter (type__in = ['regular ' ,]).order_by ('time' ,'name' ):
8686 ymd = ts .time .date ()
8787
8888 if ymd not in date_slices and ts .location != None :
@@ -98,7 +98,7 @@ def build_all_agenda_slices(meeting):
9898
9999def get_all_assignments_from_schedule (schedule ):
100100 ss = schedule .assignments .filter (timeslot__location__isnull = False )
101- ss = ss .filter (session__type__slug = 'session ' )
101+ ss = ss .filter (session__type__slug = 'regular ' )
102102 ss = ss .order_by ('timeslot__time' ,'timeslot__name' )
103103
104104 return ss
@@ -107,7 +107,7 @@ def get_modified_from_assignments(assignments):
107107 return assignments .aggregate (Max ('timeslot__modified' ))['timeslot__modified__max' ]
108108
109109def get_wg_name_list (assignments ):
110- return assignments .filter (timeslot__type = 'Session ' ,
110+ return assignments .filter (timeslot__type = 'regular ' ,
111111 session__group__isnull = False ,
112112 session__group__parent__isnull = False ).order_by (
113113 'session__group__acronym' ).distinct ().values_list (
@@ -631,7 +631,7 @@ def update_interim_session_assignment(form):
631631 else :
632632 slot = TimeSlot .objects .create (
633633 meeting = session .meeting ,
634- type_id = "session" ,
634+ type_id = 'regular' ,
635635 duration = session .requested_duration ,
636636 time = time )
637637 SchedTimeSessAssignment .objects .create (
0 commit comments