mirror of
https://github.com/yweber/lodel2.git
synced 2026-03-14 23:32:02 +01:00
Progress in datasource as plugin implementation
This commit is contained in:
parent
6fb04a69fb
commit
f8e8750eec
10 changed files with 63 additions and 9 deletions
|
|
@ -185,7 +185,7 @@ def none_val(value):
|
|||
|
||||
def str_val(value):
|
||||
try:
|
||||
str(value)
|
||||
return str(value)
|
||||
except Exception as e:
|
||||
raise SettingsValidationError("Not able to convert value to string : " + str(e))
|
||||
|
||||
|
|
@ -306,8 +306,4 @@ LODEL2_CONF_SPECS = {
|
|||
'editormode': ( False,
|
||||
SettingValidator('bool')),
|
||||
},
|
||||
'lodel2.datasources.*': {
|
||||
'identifier': ( None,
|
||||
SettingValidator('string'))
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue