X-Git-Url: https://git.llucax.com/software/sercom.git/blobdiff_plain/9fb3648059d399e2a3e3ff2730774b109c76aba6..9cfd36eb26146cba2cc509bd028ac864c6a45f89:/sercom/subcontrollers/misentregas/__init__.py diff --git a/sercom/subcontrollers/misentregas/__init__.py b/sercom/subcontrollers/misentregas/__init__.py index c45a8e7..12cdf9b 100644 --- a/sercom/subcontrollers/misentregas/__init__.py +++ b/sercom/subcontrollers/misentregas/__init__.py @@ -172,6 +172,11 @@ class MisEntregasController(controllers.Controller, identity.SecureResource): flash(_(u'Se creó una nueva %s.') % name) raise redirect('list') + @expose(template='kid:%s.templates.corrida' % __name__) + def corrida(self, entregaid): + e = Entrega.get(int(entregaid)) + return dict(entrega=e) + @expose("json") def instancias(self, ejercicio_id): c = Ejercicio.get(ejercicio_id)