temp move forms into app.py until i can get a sane way to separate everything
This commit is contained in:
11
forms.py
11
forms.py
@@ -1,11 +0,0 @@
|
||||
from flask_wtf import FlaskForm
|
||||
from wtforms import (StringField, TextAreaField, IntegerField, BooleanField,
|
||||
RadioField)
|
||||
from wtforms.validators import InputRequired, Length
|
||||
from datetime import datetime, date
|
||||
|
||||
class TaskForm(FlaskForm):
|
||||
title = StringField('Title', validators=[InputRequired(),
|
||||
Length(min=5, max=100)])
|
||||
description = TextAreaField('Description', validators=[InputRequired(),
|
||||
Length(max=200)])
|
Reference in New Issue
Block a user