- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 41 for ninja (0.15 sec)
-
docs/de/docs/advanced/templates.md
## Templates erstellen Dann können Sie unter `templates/item.html` ein Template erstellen, mit z. B. folgendem Inhalt: ```jinja hl_lines="7" {!../../../docs_src/templates/templates/item.html!} ``` ### Template-Kontextwerte Im HTML, welches enthält: {% raw %} ```jinja Item ID: {{ id }} ``` {% endraw %}
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Sat Mar 30 20:26:19 GMT 2024 - 3.6K bytes - Viewed (0) -
docs/pt/docs/advanced/templates.md
## Escrevendo Templates Então você pode escrever um template em `templates/item.html`, por exemplo: ```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
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Thu Mar 28 04:05:17 GMT 2024 - 3.4K bytes - Viewed (0) -
docs/zh/docs/advanced/templates.md
## 编写模板 编写模板 `templates/item.html`,代码如下: ```jinja hl_lines="7" {!../../../docs_src/templates/templates/item.html!} ``` 它会显示从 **context** 字典中提取的 `id`: ```Python {"request": request, "id": id} ``` ## 模板与静态文件 在模板内部使用 `url_for()`,例如,与挂载的 `StaticFiles` 一起使用。 ```jinja hl_lines="4" {!../../../docs_src/templates/templates/item.html!} ```
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Sat Mar 30 22:45:16 GMT 2024 - 2.2K bytes - Viewed (0) -
docs/de/docs/reference/templating.md
# Templating – `Jinja2Templates` Sie können die `Jinja2Templates`-Klasse verwenden, um Jinja-Templates zu rendern. Lesen Sie mehr darüber in der [FastAPI-Dokumentation zu Templates](../advanced/templates.md). Sie können die Klasse direkt von `fastapi.templating` importieren: ```python from fastapi.templating import Jinja2Templates ```
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Wed Feb 21 22:26:02 GMT 2024 - 386 bytes - Viewed (0) -
.cm/summary_table_platforms.cm
# as well as a `run` key with the actions to do. All the conditions need to be true # for the actions to run (there is an implicit AND relation between # the conditions on each line). Each condition is specified as a Jinja expression. You # can also use the constant `true` if you want to always run the actions. # Each automation is independent of the others. Every time one of the `on` conditions match for
Plain Text - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Fri Apr 12 13:42:16 GMT 2024 - 1.4K bytes - Viewed (0) -
docs/en/docs/reference/templating.md
# Templating - `Jinja2Templates` You can use the `Jinja2Templates` class to render Jinja templates. Read more about it in the [FastAPI docs for Templates](https://fastapi.tiangolo.com/advanced/templates/). You can import it directly from `fastapi.templating`: ```python from fastapi.templating import Jinja2Templates ```
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 365 bytes - Viewed (0) -
.cm/includes_todos.cm
# as well as a `run` key with the actions to do. All the conditions need to be true # for the actions to run (there is an implicit AND relation between # the conditions on each line). Each condition is specified as a Jinja expression. You # can also use the constant `true` if you want to always run the actions. # Each automation is independent of the others. Every time one of the `on` conditions match for
Plain Text - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Fri Apr 12 13:42:16 GMT 2024 - 1.9K bytes - Viewed (0) -
.cm/add_usual_expert.cm
# as well as a `run` key with the actions to do. All the conditions need to be true # for the actions to run (there is an implicit AND relation between # the conditions on each line). Each condition is specified as a Jinja expression. You # can also use the constant `true` if you want to always run the actions. # Each automation is independent of the others. Every time one of the `on` conditions match for
Plain Text - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Fri Apr 12 13:42:16 GMT 2024 - 1.4K bytes - Viewed (0) -
.cm/lacks_tests.cm
# as well as a `run` key with the actions to do. All the conditions need to be true # for the actions to run (there is an implicit AND relation between # the conditions on each line). Each condition is specified as a Jinja expression. You # can also use the constant `true` if you want to always run the actions. # Each automation is independent of the others. Every time one of the `on` conditions match for
Plain Text - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Fri Apr 12 13:42:16 GMT 2024 - 2.4K bytes - Viewed (0) -
.cm/code_experts.cm
# as well as a `run` key with the actions to do. All the conditions need to be true # for the actions to run (there is an implicit AND relation between # the conditions on each line). Each condition is specified as a Jinja expression. You # can also use the constant `true` if you want to always run the actions. # Each automation is independent of the others. Every time one of the `on` conditions match for
Plain Text - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Fri Apr 12 13:42:16 GMT 2024 - 1.3K bytes - Viewed (0)