X-Git-Url: https://git.llucax.com/software/sercom.git/blobdiff_plain/059c54471d9a4d943c525821760f4321ad6f70e8..80bb0681e6367432275beb8a3fd09160e7a91fbf:/sercom/controllers.py?ds=sidebyside diff --git a/sercom/controllers.py b/sercom/controllers.py index 3bd0d8a..3f91e91 100644 --- a/sercom/controllers.py +++ b/sercom/controllers.py @@ -46,7 +46,7 @@ class Root(controllers.RootController): .orderBy(InstanciaDeEntrega.q.fin)) return dict(a_corregir=correcciones, instancias_activas=instancias, now=now) - + if 'entregar' in identity.current.permissions: # Proximas instancias de entrega instancias = list(InstanciaDeEntrega.select( @@ -119,14 +119,16 @@ class Root(controllers.RootController): ejercicio = EjercicioController() + tarea_fuente = TareaFuenteController() + + tarea_prueba = TareaPruebaController() + caso_de_prueba = CasoDePruebaController() curso = CursoController() docente_inscripto = DocenteInscriptoController() - alumno_inscripto = AlumnoInscriptoController() - correccion = CorreccionController() admin = identity.SecureObject(CatWalk(model), identity.has_permission('admin')) @@ -135,6 +137,8 @@ class Root(controllers.RootController): mis_correcciones = MisCorreccionesController() + grupo_admin = GrupoAdminController() + #{{{ Agrega summarize a namespace tg de KID def summarize(text, size, concat=True, continuation='...'): """Summarize a string if it's length is greater than a specified size. This