Validation message correction

corrected exception message for MinStrLen method

Change-Id: I9992283bc02ebb2b1a391b0e97f1c5fdbfed2d42
This commit is contained in:
Kushal Agrawal 2018-03-07 23:09:46 +05:30
parent c73fe300f5
commit d1de4d1c7b
1 changed files with 1 additions and 1 deletions

View File

@ -158,7 +158,7 @@ class MinStrLen(SizeValidator):
l = len(value)
if l < self.size:
raise ValueError(
_("String length must be less than %(size)d. "
_("String length must be more than %(size)d. "
"Current length: %(cur)d") % {'size': self.size,
'cur': l})