From 654074d8126356ee8d2fbfaf421b02e91644f7bc Mon Sep 17 00:00:00 2001 From: Cristina Cochior Date: Mon, 21 Sep 2020 00:14:13 +0200 Subject: [PATCH] MERGER --- library_julie.py | 4 ++-- templates/layout_julie.html | 46 +++++++++++-------------------------- 2 files changed, 15 insertions(+), 35 deletions(-) diff --git a/library_julie.py b/library_julie.py index 6c4d48a..ee11bc7 100644 --- a/library_julie.py +++ b/library_julie.py @@ -66,7 +66,7 @@ def home(): # We have our query string nicely serialized as a Python dictionary args = request.args # We'll create a string to display the parameters & values - serialized = ", ".join(f"{k}: {v}" for k, v in request.args.items()) + # serialized = ", ".join(f"{k}: {v}" for k, v in request.args.items()) # Display the query string to the client in a different format # return f"(Query) {serialized}", 200 urllibrarian=request.args.getlist('librarian') # new @@ -103,4 +103,4 @@ def test(): print("hallo") print(listofselecteddocs) print("hola") - return render_template('test.html') \ No newline at end of file + return render_template('test.html') diff --git a/templates/layout_julie.html b/templates/layout_julie.html index e7f8b08..35f7b2e 100644 --- a/templates/layout_julie.html +++ b/templates/layout_julie.html @@ -5,11 +5,11 @@ Library - + - +