IS_IN_DB(...,delimiter=',',auto_add=True)

This commit is contained in:
mdipierro
2015-12-27 05:33:29 -06:00
parent da22554aed
commit 999f235b75
2 changed files with 69 additions and 23 deletions
+2
View File
@@ -1859,6 +1859,8 @@ class INPUT(DIV):
try:
(value, errors) = validator(value)
except:
import traceback
print traceback.format_exc()
msg = "Validation error, field:%s %s" % (name,validator)
raise Exception(msg)
if not errors is None: