Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions Procfile.dev

This file was deleted.

11 changes: 6 additions & 5 deletions forms.py
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
from flask_wtf import Form
from wtforms import TextField, PasswordField
from wtforms import PasswordField
from wtforms import StringField
from wtforms.validators import DataRequired, EqualTo, Length

# Set your classes here.


class RegisterForm(Form):
name = TextField(
name = StringField(
'Username', validators=[DataRequired(), Length(min=6, max=25)]
)
email = TextField(
email = StringField(
'Email', validators=[DataRequired(), Length(min=6, max=40)]
)
password = PasswordField(
Expand All @@ -23,11 +24,11 @@ class RegisterForm(Form):


class LoginForm(Form):
name = TextField('Username', [DataRequired()])
name = StringField('Username', [DataRequired()])
password = PasswordField('Password', [DataRequired()])


class ForgotForm(Form):
email = TextField(
email = StringField(
'Email', validators=[DataRequired(), Length(min=6, max=40)]
)