Skip to content

Commit

Permalink
Merge branch 'master' of github.com:mitsuhiko/flask
Browse files Browse the repository at this point in the history
  • Loading branch information
mitsuhiko committed Oct 7, 2011
2 parents 174f322 + 6dec92d commit 583c5f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/patterns/wtforms.rst
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ The Forms

This is an example form for a typical registration page::

from wtforms import Form, BooleanField, TextField, validators
from wtforms import Form, BooleanField, TextField, PasswordField, validators

class RegistrationForm(Form):
username = TextField('Username', [validators.Length(min=4, max=25)])
Expand Down

0 comments on commit 583c5f7

Please sign in to comment.