def detalhar(_write_tmpl, curso_id): curso = Curso.get_by_id(int(curso_id)) _write_tmpl('curso_detalhe.html', {'curso': curso})