X-Git-Url: https://git.llucax.com/software/sercom.git/blobdiff_plain/7b2634702939393d800872ee15803b99bc6b0742..edbe912983dc8aa1de548b177b07f2d514111d8c:/sercom/model.py diff --git a/sercom/model.py b/sercom/model.py index 0c65864..b9fddbb 100644 --- a/sercom/model.py +++ b/sercom/model.py @@ -41,7 +41,7 @@ class TupleValidator(PickleValidator): class SOTupleCol(SOPickleCol): def createValidators(self): - return [TupleValidator(name=self.name)] + return [TupleValidator(name=self.name, pickleProtocol=self.pickleProtocol)] class TupleCol(PickleCol): baseClass = SOTupleCol @@ -952,7 +952,7 @@ class Rol(SQLObject): #{{{ # Campos descripcion = UnicodeCol(length=255, default=None) creado = DateTimeCol(notNone=True, default=datetime.now) - permisos = TupleCol(notNone=True) + permisos = TupleCol(notNone=True, length=2**16) # Joins usuarios = RelatedJoin('Usuario', addRemoveName='_usuario')