Skip to content
Myr

Added PasswordField in docs/patterns/wtforms.rst

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by kracekumar · committed by kracekumar · parent a9f68dd · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:docs/patterns/wtforms.rst+1 added-1 removed
24 unmodified lines
25---------2627This is an example form for a typical registration page::2829 from wtforms import Form, BooleanField, TextField, validators29 from wtforms import Form, BooleanField, TextField, PasswordField, validators3031 class RegistrationForm(Form):32 username = TextField('Username', [validators.Length(min=4, max=25)])33 email = TextField('Email Address', [validators.Length(min=6, max=35)])
91 unmodified lines