fixed a typo in validators, thanks Paolo
This commit is contained in:
@@ -670,7 +670,7 @@ class IS_IN_DB(Validator):
|
||||
try:
|
||||
value = int(value)
|
||||
except TypeError:
|
||||
return (values, translate(self.error_message))
|
||||
return (value, translate(self.error_message))
|
||||
|
||||
if self.theset:
|
||||
if str(value) in self.theset:
|
||||
|
||||
Reference in New Issue
Block a user