From fe86142ef04f5c90643627e27371cf5941a530c8 Mon Sep 17 00:00:00 2001 From: mascottejas Date: Thu, 7 Feb 2013 06:01:10 -0800 Subject: [PATCH] The fieldname for the EqualTo validator for the confirm field was confirm itself. Changed it to password. --- Large-app-how-to.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Large-app-how-to.md b/Large-app-how-to.md index 9f37f7c..b780e2e 100644 --- a/Large-app-how-to.md +++ b/Large-app-how-to.md @@ -203,7 +203,7 @@ Now that we've done our object model, time to build the form that goes with it. password = PasswordField('Password', [Required()]) confirm = PasswordField('Repeat Password', [ Required(), - EqualTo('confirm', message='Passwords must match') + EqualTo('password', message='Passwords must match') ]) accept_tos = BooleanField('I accept the TOS', [Required()]) recaptcha = RecaptchaField()