Browse Source

Merge branch 'master' of github.com:mitsuhiko/flask

pull/334/head
Armin Ronacher 13 years ago
parent
commit
583c5f7935
  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:: 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): class RegistrationForm(Form):
username = TextField('Username', [validators.Length(min=4, max=25)]) username = TextField('Username', [validators.Length(min=4, max=25)])

Loading…
Cancel
Save