Пример #1
0
def masterGradebookBySection(sec):
    """Takes the list of sections from gradebook db and returns all sessions
    whose name contains sec as a subword"""
    allsessions = getTables(gradebook.gdbk)
    secsessions = [s for s in allsessions if sec in s]
    m = masterGradebook(secsessions)
    m.fillIn()
    return m
Пример #2
0
 def GET(self):
     validateInstructor()
     grades=csvsql.getTables("gradebook.db")
     grades.remove("sessions") #sessions is not a gradebook 
     return render.databases(bootpre,grades)