Commits

Kris Neuharth committed ab6fceb

Fix error in the EqualTo validator message documentation.

  • Participants
  • Parent commits 39fdd9b

Comments (0)

Files changed (1)

File docs/validators.rst

     scenarios, the password change form::
 
         class ChangePassword(Form):
-            password = PasswordField('New Password', [Required(), EqualTo('confirm', mesage='Passwords must match')])
+            password = PasswordField('New Password', [Required(), EqualTo('confirm', message='Passwords must match')])
             confirm  = PasswordField('Repeat Password')
 
     In the example, we use the Required validator to prevent the EqualTo