X-Git-Url: https://git.llucax.com/software/sercom.git/blobdiff_plain/92cf10ec8ada7fedb6ed91fab65b25f5901162d0..5abdab4db1be106faafe469314fa939d1948399b:/sercom/subcontrollers/curso/ejercicio/__init__.py diff --git a/sercom/subcontrollers/curso/ejercicio/__init__.py b/sercom/subcontrollers/curso/ejercicio/__init__.py index d4dcb8c..cf819d3 100644 --- a/sercom/subcontrollers/curso/ejercicio/__init__.py +++ b/sercom/subcontrollers/curso/ejercicio/__init__.py @@ -11,9 +11,7 @@ from docutils.core import publish_parts from sercom.subcontrollers import validate as val from sercom.model import Ejercicio, Curso, Enunciado from cherrypy import request, response - -from entrega import * - +from instancia import InstanciaController #}}} #{{{ Configuración @@ -77,7 +75,7 @@ class EjercicioController(controllers.Controller, identity.SecureResource): """Basic model admin interface""" require = identity.has_permission('entregar') - entrega = EntregaController() + instancia = InstanciaController() @expose(template='kid:%s.templates.list' % __name__) @validate(validators=dict(curso=V.Int))