from sercom.subcontrollers import validate as val
from sercom.model import Ejercicio, Curso, Enunciado
from cherrypy import request, response
+
+from entrega import *
+
#}}}
#{{{ Configuración
"""Basic model admin interface"""
require = identity.has_permission('admin')
+ entrega = EntregaController()
+
@expose()
def default(self, tg_errors=None):
"""handle non exist urls"""
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()