Change parameters to use only default_from for dynamic default values.

Replace all occurences of create_default with equivalent default_from
and remove create_default from the framework. This is needed for
proper parameter validation, as there is no way to tell which
parameters to validate prior to calling create_default, because
create_default does not provide information about which parameters are
used for generating the default value.
This commit is contained in:
Jan Cholasta
2012-03-15 04:32:37 -04:00
committed by Martin Kosek
parent 5a55e11a25
commit a2299070c8
7 changed files with 30 additions and 115 deletions

View File

@@ -45,7 +45,6 @@ PARAM_IGNORED_KW_ATTRIBUTES = ('label',
'normalizer',
'encoder',
'default_from',
'create_default',
'hint',
'flags',
'sortorder',)