Changed 'Required' (undefined) to 'DataRequired' per the other fields.
parent
a6fff39c09
commit
42b4a2d000
1 changed files with 1 additions and 1 deletions
|
|
@ -206,7 +206,7 @@ Now that we've done our object model, time to build the form that goes with it.
|
|||
DataRequired(),
|
||||
EqualTo('password', message='Passwords must match')
|
||||
])
|
||||
accept_tos = BooleanField('I accept the TOS', [Required()])
|
||||
accept_tos = BooleanField('I accept the TOS', [DataRequired()])
|
||||
recaptcha = RecaptchaField()
|
||||
```
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue