- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for Andrew (0.23 sec)
-
docs/de/docs/advanced/templates.md
```jinja hl_lines="7" {!../../../docs_src/templates/templates/item.html!} ``` ### Template-Kontextwerte Im HTML, welches enthält: {% raw %} ```jinja Item ID: {{ id }} ``` {% 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:
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/pt/docs/advanced/templates.md
```jinja hl_lines="7" {!../../../docs_src/templates/templates/item.html!} ``` ### Interpolação de Valores no Template No código HTML que contém: {% raw %} ```jinja Item ID: {{ id }} ``` {% endraw %} ...aparecerá o `id` obtido do "context" `dict` que você passou: ```Python {"id": id} ``` Por exemplo, dado um ID de valor `42`, aparecerá: ```html Item ID: 42 ```
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Mar 28 04:05:17 GMT 2024 - 3.4K bytes - Viewed (0) -
docs/en/docs/advanced/templates.md
```jinja hl_lines="7" {!../../../docs_src/templates/templates/item.html!} ``` ### Template Context Values In the HTML that contains: {% raw %} ```jinja Item ID: {{ id }} ``` {% endraw %} ...it will show the `id` taken from the "context" `dict` you passed: ```Python {"id": id} ``` For example, with an ID of `42`, this would render: ```html Item ID: 42 ```
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)