Example #1
0
 def get(self):
     
     professors = Professor.all()
     
     path = 'admin/professor.html'
     crumbs = utils.crumbsFromPath(path)
     self.render_template(path,{'professors':professors, 'crumbs':crumbs})
Example #2
0
 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})
Example #3
0
 def get(self):
     matrices = Matrix.all()
     path = 'admin/matrix.html'
     crumbs = utils.crumbsFromPath(path)
     
     self.render_template(path,{'matrices':matrices, 'crumbs':crumbs})