# HG changeset patch # Parent d5ad2ad84a5db0668e4e08fefb6e3f628c2e14d1 # Parent e65c9826721cb2421131399bc9223e03b482d38f diff --git a/academy/controllers.py b/academy/controllers.py --- a/academy/controllers.py +++ b/academy/controllers.py @@ -4,7 +4,9 @@ from openerp import http class Academy(http.Controller): @http.route('/academy/academy/', auth='public') def index(self, **kw): - return "Hello, world" + return http.request.render('academy.index', { + 'teachers': ["Diana Padilla", "Jody Caroll", "Lester Vaughn"], + }) # @http.route('/academy/academy/objects/', auth='public') # def list(self, **kw): diff --git a/academy/templates.xml b/academy/templates.xml --- a/academy/templates.xml +++ b/academy/templates.xml @@ -1,14 +1,11 @@ - - - - - - - - - +