forked from orbit-oss/flask
Merge branch 'master' of github.com:mitsuhiko/flask
This commit is contained in:
commit
583c5f7935
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue