diff --git a/docs/patterns/wtforms.rst b/docs/patterns/wtforms.rst index 2a0b4ac8..b94b4156 100644 --- a/docs/patterns/wtforms.rst +++ b/docs/patterns/wtforms.rst @@ -23,7 +23,7 @@ This is an example form for a typical registration page:: username = TextField('Username', [validators.Length(min=4, max=25)]) email = TextField('Email Address', [validators.Length(min=6, max=35)]) password = PasswordField('New Password', [Required(), - EqualTo('confirm', mesage='Passwords must match')]) + EqualTo('confirm', message='Passwords must match')]) confirm = PasswordField('Repeat Password') accept_tos = BooleanField('I accept the TOS', [validators.Required()])