mirror of
https://github.com/fastapi/fastapi.git
synced 2026-05-11 17:19:22 -04:00
📝 Update template docs with more info about url_for (#5937)
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
This commit is contained in:
committed by
GitHub
parent
22e68b151d
commit
0c796747a3
@@ -4,6 +4,6 @@
|
||||
<link href="{{ url_for('static', path='/styles.css') }}" rel="stylesheet">
|
||||
</head>
|
||||
<body>
|
||||
<h1>Item ID: {{ id }}</h1>
|
||||
<h1><a href="{{ url_for('read_item', id=id) }}">Item ID: {{ id }}</a></h1>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user