summaryrefslogtreecommitdiff
path: root/wk9/lect/hello/app.py
diff options
context:
space:
mode:
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)