We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4a221ac commit 3546f38Copy full SHA for 3546f38
1 file changed
hello_app/views.py
@@ -14,8 +14,9 @@ def about():
14
def contact():
15
return render_template("contact.html")
16
17
+@app.route("/hello")
18
@app.route("/hello/<name>")
-def hello_there(name):
19
+def hello_there(name = None):
20
return render_template(
21
"hello_there.html",
22
name=name,
0 commit comments