def get(self): professors = Professor.all() path = 'admin/professor.html' crumbs = utils.crumbsFromPath(path) self.render_template(path,{'professors':professors, 'crumbs':crumbs})
def get(self): #user = users.get_current_user() #self.render_template('admin/index.html', {'username':user.nickname()}) path = 'admin/' crumbs = utils.crumbsFromPath(path) self.render_template('admin/index.html',{'crumbs':crumbs})
def get(self): matrices = Matrix.all() path = 'admin/matrix.html' crumbs = utils.crumbsFromPath(path) self.render_template(path,{'matrices':matrices, 'crumbs':crumbs})