X-Git-Url: https://git.llucax.com/z.facultad/75.52/sercom.git/blobdiff_plain/c5e6579e46589c8af4175e16283337bc0ac75df6..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)