Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 33 for ninja (0.02 seconds)

  1. docs/de/docs/advanced/templates.md

    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 { #template-context-values }
    
    Im HTML, welches enthält:
    
    {% raw %}
    
    ```jinja
    Item ID: {{ id }}
    ```
    
    {% endraw %}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:58:09 GMT 2026
    - 4.2K bytes
    - Click Count (0)
  2. docs/zh-hant/docs/advanced/templates.md

    ///
    
    ## 撰寫模板 { #writing-templates }
    
    接著你可以在 `templates/item.html` 編寫模板,例如:
    
    ```jinja hl_lines="7"
    {!../../docs_src/templates/templates/item.html!}
    ```
    
    ### 模板 context 值 { #template-context-values }
    
    在包含以下內容的 HTML 中:
    
    {% raw %}
    
    ```jinja
    Item ID: {{ id }}
    ```
    
    {% endraw %}
    
    ...它會顯示你在傳入的 context `dict` 中提供的 `id`:
    
    ```Python
    {"id": id}
    ```
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 3.3K bytes
    - Click Count (0)
  3. docs/ja/docs/advanced/templates.md

    ///
    
    ## テンプレートの作成 { #writing-templates }
    
    例えば、`templates/item.html` に次のようなテンプレートを書きます:
    
    ```jinja hl_lines="7"
    {!../../docs_src/templates/templates/item.html!}
    ```
    
    ### テンプレートのコンテキスト値 { #template-context-values }
    
    次のような HTML 内で:
    
    {% raw %}
    
    ```jinja
    Item ID: {{ id }}
    ```
    
    {% endraw %}
    
    ...渡した "context" の `dict` から取得した `id` が表示されます:
    
    ```Python
    {"id": id}
    ```
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 4.1K bytes
    - Click Count (0)
  4. docs/ru/docs/advanced/templates.md

    ## Написание шаблонов { #writing-templates }
    
    Затем вы можете создать шаблон в `templates/item.html`, например:
    
    ```jinja hl_lines="7"
    {!../../docs_src/templates/templates/item.html!}
    ```
    
    ### Значения контекста шаблона { #template-context-values }
    
    В HTML, который содержит:
    
    {% raw %}
    
    ```jinja
    Item ID: {{ id }}
    ```
    
    {% endraw %}
    
    ...будет показан `id`, взятый из переданного вами «context» `dict`:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:56:20 GMT 2026
    - 5K bytes
    - Click Count (0)
  5. docs/tr/docs/advanced/templates.md

    ## Template Yazma { #writing-templates }
    
    Ardından örneğin `templates/item.html` konumunda bir template yazabilirsiniz:
    
    ```jinja hl_lines="7"
    {!../../docs_src/templates/templates/item.html!}
    ```
    
    ### Template Context Değerleri { #template-context-values }
    
    Şu HTML içeriğinde:
    
    {% raw %}
    
    ```jinja
    Item ID: {{ id }}
    ```
    
    {% endraw %}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 07:53:17 GMT 2026
    - 3.8K bytes
    - Click Count (0)
  6. docs/ko/docs/advanced/templates.md

    ///
    
    ## 템플릿 작성하기 { #writing-templates }
    
    그런 다음 `templates/item.html`에 템플릿을 작성할 수 있습니다. 예를 들면:
    
    ```jinja hl_lines="7"
    {!../../docs_src/templates/templates/item.html!}
    ```
    
    ### 템플릿 컨텍스트 값 { #template-context-values }
    
    다음과 같은 HTML에서:
    
    {% raw %}
    
    ```jinja
    Item ID: {{ id }}
    ```
    
    {% endraw %}
    
    ...이는 전달한 "컨텍스트" `dict`에서 가져온 `id`를 표시합니다:
    
    ```Python
    {"id": id}
    ```
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 3.8K bytes
    - Click Count (0)
  7. 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
    ```
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 365 bytes
    - Click Count (0)
  8. docs/uk/docs/index.md

    Використовується Starlette:
    
    * [`httpx`](https://www.python-httpx.org) - потрібно, якщо ви хочете використовувати `TestClient`.
    * [`jinja2`](https://jinja.palletsprojects.com) - потрібно, якщо ви хочете використовувати конфігурацію шаблонів за замовчуванням.
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:27:41 GMT 2026
    - 29.1K bytes
    - Click Count (0)
  9. docs/zh/docs/index.md

    Pydantic 使用:
    
    * [`email-validator`](https://github.com/JoshData/python-email-validator) - 用于 email 校验。
    
    Starlette 使用:
    
    * [`httpx`](https://www.python-httpx.org) - 使用 `TestClient` 时需要。
    * [`jinja2`](https://jinja.palletsprojects.com) - 使用默认模板配置时需要。
    * [`python-multipart`](https://github.com/Kludex/python-multipart) - 使用 `request.form()` 支持表单<dfn title="将 HTTP 请求中的字符串转换为 Python 数据">「解析」</dfn>时需要。
    
    FastAPI 使用:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 20.7K bytes
    - Click Count (0)
  10. docs/de/docs/index.md

    Verwendet von Starlette:
    
    * [`httpx`](https://www.python-httpx.org) – erforderlich, wenn Sie den `TestClient` verwenden möchten.
    * [`jinja2`](https://jinja.palletsprojects.com) – erforderlich, wenn Sie die Default-Template-Konfiguration verwenden möchten.
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:58:09 GMT 2026
    - 23.6K bytes
    - Click Count (1)
Back to Top