Mercurial > wikked
changeset 46:0b6ce6837d22
Removed unused modules.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Fri, 25 Jan 2013 22:20:58 -0800 |
parents | f63a2062fb99 |
children | 86ee1b696070 |
files | wikked/forms.py wikked/models.py |
diffstat | 2 files changed, 0 insertions(+), 23 deletions(-) [+] |
line wrap: on
line diff
--- a/wikked/forms.py Sat Jan 12 22:12:06 2013 -0800 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,19 +0,0 @@ -from wtforms import Form, BooleanField, TextField, TextAreaField, PasswordField, validators - - -class RegistrationForm(Form): - username = TextField('Username', [validators.Length(min=4, max=25)]) - email = TextField('Email Address', [validators.Length(min=6, max=35)]) - password = PasswordField('New Password', [ - validators.Required(), - validators.EqualTo('confirm', message='Passwords must match') - ]) - confirm = PasswordField('Repeat Password') - accept_tos = BooleanField('I accept the TOS', [validators.Required()]) - - -class EditPageForm(Form): - text = TextAreaField() - author = TextField('Author') - message = TextField('Message') -