Commit d96e5cdd authored by Nelso Jost's avatar Nelso Jost

FIX: removed debug prints

parent 08c1a192
......@@ -10,7 +10,7 @@ from ..email import send_email
@auth.route('/login', methods=['GET', 'POST'])
def login():
form = LoginForm()
print(form.email.data, request.form)
# print(form.email.data, request.form)
if form.validate_on_submit():
user = User.query.filter_by(email=form.email.data).first()
if user is not None and user.verify_password(form.password.data):
......
......@@ -106,7 +106,7 @@ def view_insert_board():
'''
##TODO: maybe its better to do the list managment on client side?
manage_board_form = ManageBoardForm()
pprint(request.form)
# pprint(request.form)
if request.method == 'POST':
# got any button click? if so, the btn will appear on the request.form
......@@ -115,7 +115,7 @@ def view_insert_board():
elif 'btn_save' in request.form:
board = manage_board_form.validate_and_save()
print('THE NEW BOARD:', board)
# print('THE NEW BOARD:', board)
if board:
return redirect(url_for('main.view_board', id=board.id))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment