X-Git-Url: https://git.llucax.com/z.facultad/75.52/sercom.git/blobdiff_plain/d7983c3d170e8a6a54b5ee84e2c275e1178992b9..87209655a15931250b9731f676e55882b0deaa72:/sercom/subcontrollers/enunciado/__init__.py diff --git a/sercom/subcontrollers/enunciado/__init__.py b/sercom/subcontrollers/enunciado/__init__.py index c181994..3809ef0 100644 --- a/sercom/subcontrollers/enunciado/__init__.py +++ b/sercom/subcontrollers/enunciado/__init__.py @@ -12,6 +12,7 @@ from sercom.subcontrollers import validate as val from sercom.model import Enunciado, Docente, Curso, Tarea, TareaFuente, TareaPrueba from cherrypy import request, response from sercom.widgets import * +from caso_de_prueba import CasoDePruebaController #}}} #{{{ Configuración @@ -117,6 +118,8 @@ class EnunciadoController(controllers.Controller, identity.SecureResource): """Basic model admin interface""" require = identity.has_permission('entregar') + caso_de_prueba = CasoDePruebaController() + @expose() def default(self, tg_errors=None): """handle non exist urls"""