validator set to false for read_write in setting
authorgwen <gremond@cadoles.com>
Wed, 6 Feb 2013 13:34:12 +0000 (14:34 +0100)
committergwen <gremond@cadoles.com>
Wed, 6 Feb 2013 13:34:12 +0000 (14:34 +0100)
tiramisu/setting.py

index 431589d..3798ba7 100644 (file)
@@ -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