X-Git-Url: https://git.llucax.com/z.facultad/75.52/sercom.git/blobdiff_plain/2800382cbf551d1f48b324c71ed3bc116b5d3270..aa8c5a4c31de79cf2d8e3ab3bb0583af2ffa89ce:/sercom/subcontrollers/curso/__init__.py diff --git a/sercom/subcontrollers/curso/__init__.py b/sercom/subcontrollers/curso/__init__.py index 34e93e5..62dc1cc 100644 --- a/sercom/subcontrollers/curso/__init__.py +++ b/sercom/subcontrollers/curso/__init__.py @@ -15,6 +15,7 @@ from curso_alumno import * from sqlobject import * from sqlobject.dberrors import * from sercom.widgets import * +from alumno import AlumnoInscriptoController #}}} #{{{ Configuración @@ -127,8 +128,8 @@ class CursoForm(W.TableForm): numero = W.TextField(label=_(u'Numero'), help_text=_(u'Requerido'), validator=V.Number(min=1, max=2, strip=True)) - descripcion = W.TextArea(name='descripcion', label=_(u'Descripcion'), - help_text=_(u'Descripcion.'), + descripcion = W.TextField(label=_(u'Descripción'), + help_text=_(u'Descripción.'), validator=V.UnicodeString(not_empty=False, strip=True)) #docentes = W.MultipleSelectField(name="docentes", @@ -168,6 +169,7 @@ class CursoController(controllers.Controller, identity.SecureResource): """Basic model admin interface""" require = identity.has_permission('admin') curso_alumno = CursoAlumnoController() + alumno = AlumnoInscriptoController() @expose() def default(self, tg_errors=None):