We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d5933b4 commit 8b13f1fCopy full SHA for 8b13f1f
app.py
@@ -23,7 +23,7 @@
23
24
25
@app.get("/")
26
-def read_root(request: Request):
+def home(request: Request):
27
return templates.TemplateResponse(
28
- "charge.html", {"request": request, "name": "surajit"}
+ "charge.html", {"request": request, "message": "Welcome to Property Management API"}
29
)
templates/charge.html
@@ -1,7 +1,7 @@
1
<html>
2
<body>
3
<p>
4
- Hello {{ name }}
+ Hello {{ message }}
5
</p>
6
</body>
7
</html>
0 commit comments