From d00a623fc17e7cf1b95006f4cbddf48720a66031 Mon Sep 17 00:00:00 2001 From: gwen Date: Wed, 6 Feb 2013 14:34:12 +0100 Subject: [PATCH] validator set to false for read_write in setting --- tiramisu/setting.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tiramisu/setting.py b/tiramisu/setting.py index 431589d..3798ba7 100644 --- a/tiramisu/setting.py +++ b/tiramisu/setting.py @@ -145,6 +145,7 @@ class Setting(): def read_only(self): "convenience method to freeze, hidde and disable" + # FIXME LE FREEZE NE MARCHE PAS self.freeze() self.disable_property('hidden') self.enable_property('disabled') @@ -153,10 +154,12 @@ class Setting(): def read_write(self): "convenience method to freeze, hidde and disable" + # FIXME : POURQUOI UN FREEZE ICI ? self.freeze() self.enable_property('hidden') self.enable_property('disabled') self.mandatory = False + self.validator = False def non_mandatory(self): """mandatory at the Config level means that the Config raises an error