diff --git a/author.py b/author.py index 732d8c3..b748029 100644 --- a/author.py +++ b/author.py @@ -1,4 +1,5 @@ from wtforms import SubmitField, StringField, HiddenField, validators, Form +from flask_wtf import FlaskForm from flask import request, render_template from __main__ import db, app, ma @@ -24,7 +25,7 @@ class AuthorSchema(ma.SQLAlchemyAutoSchema): ################################################################################ # Helper class that defines a form for author, used to make html