diff --git a/author.py b/author.py index b748029..c47e316 100644 --- a/author.py +++ b/author.py @@ -50,7 +50,6 @@ def author(id): ### DDP: should this be request.form or request.values? alert="Success" author_form = AuthorForm(request.form) - print( author_form.validate_on_submit() ) if request.method == 'POST' and author_form.validate_on_submit(): id = request.form['id'] author = Author.query.get(id) @@ -60,7 +59,6 @@ def author(id): message="Sorry, Deleting unsupported at present" alert="Danger" else: - print( "seems to be saving" ) author.firstnames = request.form['firstnames'] author.surname = request.form['surname'] db.session.commit()