summaryrefslogtreecommitdiff
path: root/wk9/lect/hello/app.py
diff options
context:
space:
mode:
authorFudgerboy <91767657+Fudgerboy@users.noreply.github.com>2024-07-09 08:43:24 +0000
committerFudgerboy <91767657+Fudgerboy@users.noreply.github.com>2024-07-09 08:43:24 +0000
commit1bea8d8d63dd911fb5effa303522cd7db82f3d76 (patch)
tree4ba177a62538fd5599029671a36a5f4aefdbd5b3 /wk9/lect/hello/app.py
parent29d17fb848fa7dcab24b434e57d08c32e8ebf4fe (diff)
Tue, Jul 9, 2024, 1:43 AM -07:00
Diffstat (limited to 'wk9/lect/hello/app.py')
-rw-r--r--wk9/lect/hello/app.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/wk9/lect/hello/app.py b/wk9/lect/hello/app.py
index de6ec44..7898011 100644
--- a/wk9/lect/hello/app.py
+++ b/wk9/lect/hello/app.py
@@ -4,4 +4,5 @@ app = Flask(__name__)
@app.route("/")
def index():
- return render_template("index.html")
+ name = request.args["name"]
+ return render_template("index.html", placeholder=name)