From 74e5b5ea98703dac1f5871568c251645e1560748 Mon Sep 17 00:00:00 2001 From: Ricardo Markiewicz Date: Sat, 10 Mar 2007 19:16:26 +0000 Subject: [PATCH] =?utf8?q?Seteo=20bien=20la=20contrase=C3=B1a=20e=20incluy?= =?utf8?q?o=20Rol=20que=20faltaba?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- sercom/subcontrollers/alumno/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sercom/subcontrollers/alumno/__init__.py b/sercom/subcontrollers/alumno/__init__.py index 72dd9c4..2eb418f 100644 --- a/sercom/subcontrollers/alumno/__init__.py +++ b/sercom/subcontrollers/alumno/__init__.py @@ -10,7 +10,7 @@ from turbogears import identity from turbogears import paginate from docutils.core import publish_parts from sercom.subcontrollers import validate as val -from sercom.model import Alumno +from sercom.model import Alumno, Rol from sqlobject import * #}}} @@ -166,7 +166,7 @@ class AlumnoController(controllers.Controller, identity.SecureResource): u = Alumno(row[0], nombre=row[1]) u.email = row[2] u.telefono = row[3] - u.contrasenia = row[0] + u.password = row[0] u.activo = True u.add_rol(entregador) ok.append(row) -- 2.43.0