Permalink
Browse files

Update flask_wtf.Form to flask_wtf.FlaskForm

Removes deprication warning.
  • Loading branch information...
jvdzwaan committed Jul 24, 2018
1 parent dd72aef commit e8fbf9f42a32497cd2365011134995a69d89e23e
Showing with 4 additions and 4 deletions.
  1. +3 −3 recipyGui/forms.py
  2. +1 −1 requirements.txt
View
@@ -1,11 +1,11 @@
from flask_wtf import Form
from flask_wtf import FlaskForm
from wtforms import StringField, TextAreaField, HiddenField
class SearchForm(Form):
class SearchForm(FlaskForm):
query = StringField('query')
class AnnotateRunForm(Form):
class AnnotateRunForm(FlaskForm):
notes = TextAreaField('notes')
run_id = HiddenField('run_id')
View
@@ -5,7 +5,7 @@ svn
flask
Flask-Script
flask_bootstrap
flask-wtf
flask-wtf>=0.13
tinydb
tinydb-serialization
docopt

0 comments on commit e8fbf9f

Please sign in to comment.