ejercicio = EjercicioController()
- entrega = EntregaController()
-
caso_de_prueba = CasoDePruebaController()
curso = CursoController()
from enunciado import EnunciadoController
from caso_de_prueba import CasoDePruebaController
from ejercicio import EjercicioController
-from entrega import EntregaController
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"""
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:py="http://purl.org/kid/ns#"
- py:extends="'../../../templates/master.kid'">
+ py:extends="'../../../../templates/master.kid'">
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" py:replace="''"/>
<title>list</title>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:py="http://purl.org/kid/ns#"
- py:extends="'../../../templates/master.kid'">
+ py:extends="'../../../../templates/master.kid'">
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" py:replace="''"/>
<title>new</title>