- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for rerender (0.15 sec)
-
docs/de/docs/advanced/templates.md
``` {% endraw %} ... wird die `id` angezeigt, welche dem „Kontext“-`dict` entnommen wird, welches Sie übergeben haben: ```Python {"id": id} ``` Mit beispielsweise einer ID `42` würde das wie folgt gerendert werden: ```html Item ID: 42 ``` ### Template-`url_for`-Argumente
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat Mar 30 20:26:19 GMT 2024 - 3.6K bytes - Viewed (0) -
docs/en/docs/advanced/templates.md
* Import `Jinja2Templates`. * Create a `templates` object that you can re-use later. * Declare a `Request` parameter in the *path operation* that will return a template. * Use the `templates` you created to render and return a `TemplateResponse`, pass the name of the template, the request object, and a "context" dictionary with key-value pairs to be used inside of the Jinja2 template. ```Python hl_lines="4 11 15-18"
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Jan 11 22:25:37 GMT 2024 - 3.2K bytes - Viewed (0)