From 28d67be19eb10ad8769fe763580d91fec4a8b447 Mon Sep 17 00:00:00 2001 From: Damien De Paoli Date: Wed, 18 Nov 2020 19:51:30 +1100 Subject: [PATCH] removed debugs --- author.py | 2 -- 1 file changed, 2 deletions(-) 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()