from sercom.subcontrollers import validate as val
from sercom.model import Ejercicio, Curso, Enunciado
from cherrypy import request, response
+
#}}}
#{{{ Configuración
def show(self,id, **kw):
"""Show record in model"""
r = validate_get(id)
- if r.descripcion is None:
- r.desc = ''
- else:
- r.desc = publish_parts(r.descripcion, writer_name='html')['html_body']
return dict(name=name, namepl=namepl, record=r)
@expose()