Browse Source

Merge pull request #333 from kracekumar/master

Added PasswordField in docs/patterns/wtforms.rst
pull/334/head
Armin Ronacher 13 years ago
parent
commit
6dec92dde9
  1. 2
      docs/patterns/wtforms.rst

2
docs/patterns/wtforms.rst

@ -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)])

Loading…
Cancel
Save