Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for 4111459 (0.22 sec)

  1. docs/zh/docs/advanced/templates.md

    ## 使用 `Jinja2Templates`
    
    * 导入 `Jinja2Templates`
    * 创建可复用的 `templates` 对象
    * 在返回模板的*路径操作*中声明 `Request` 参数
    * 使用 `templates` 渲染并返回 `TemplateResponse`, 以键值对方式在 Jinja2 的 **context** 中传递 `request`
    
    ```Python hl_lines="4  11  15-16"
    {!../../../docs_src/templates/tutorial001.py!}
    ```
    
    !!! note "笔记"
    
        注意,必须为 Jinja2 以键值对方式在上下文中传递 `request`。因此,还要在*路径操作*中声明。
    
    !!! tip "提示"
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 22:45:16 GMT 2024
    - 2.2K bytes
    - Viewed (0)
  2. docs/em/docs/advanced/templates.md

    * 🗄 `Jinja2Templates`.
    * ✍ `templates` 🎚 👈 👆 💪 🏤-⚙️ ⏪.
    * 📣 `Request` 🔢 *➡ 🛠️* 👈 🔜 📨 📄.
    * ⚙️ `templates` 👆 ✍ ✍ & 📨 `TemplateResponse`, 🚶‍♀️ `request` 1️⃣ 🔑-💲 👫 Jinja2️⃣ "🔑".
    
    ```Python hl_lines="4  11  15-18"
    {!../../../docs_src/templates/tutorial001.py!}
    ```
    
    !!! note
        👀 👈 👆 ✔️ 🚶‍♀️ `request` 🍕 🔑-💲 👫 🔑 Jinja2️⃣. , 👆 ✔️ 📣 ⚫️ 👆 *➡ 🛠️*.
    
    !!! tip
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Dec 26 20:12:34 GMT 2023
    - 2.1K bytes
    - Viewed (0)
  3. docs/de/docs/advanced/templates.md

    ```Python hl_lines="4  11  15-18"
    {!../../../docs_src/templates/tutorial001.py!}
    ```
    
    !!! note "Hinweis"
        Vor FastAPI 0.108.0 und Starlette 0.29.0 war `name` der erste Parameter.
    
    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)
  4. docs/en/docs/advanced/templates.md

    ```Python hl_lines="4  11  15-18"
    {!../../../docs_src/templates/tutorial001.py!}
    ```
    
    !!! note
        Before FastAPI 0.108.0, Starlette 0.29.0, the `name` was the first parameter.
    
    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)
  5. docs/pt/docs/advanced/templates.md

    * Use o `template` que você criou para renderizar e retornar uma `TemplateResponse`, passe o nome do template, o request object, e um "context" dict com pares chave-valor a serem usados dentro do template do Jinja2.
    
    ```Python hl_lines="4  11  15-18"
    {!../../../docs_src/templates/tutorial001.py!}
    ```
    
    !!! note
        Antes do FastAPI 0.108.0, Starlette 0.29.0, `name` era o primeiro parâmetro.
    
    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)
  6. CHANGELOG/CHANGELOG-1.27.md

    - Added new -f flag into debug command to be used passing pod or node files instead explicit names. ([#111453](https://github.com/kubernetes/kubernetes/pull/111453), [@ardaguclu](https://github.com/ardaguclu))
    Plain Text
    - Registered: Fri May 03 09:05:14 GMT 2024
    - Last Modified: Tue Apr 16 15:20:21 GMT 2024
    - 434.3K bytes
    - Viewed (3)
  7. CHANGELOG/CHANGELOG-1.25.md

    - The `PodSecurity` admission plugin has graduated to GA and is enabled by default. The admission configuration version has been promoted to `pod-security.admission.config.k8s.io/v1`. ([#110459](https://github.com/kubernetes/kubernetes/pull/110459), [@wangyysde](https://github.com/wangyysde))
    - The `endPort` field in Network Policy is now promoted to GA
    
    Plain Text
    - Registered: Fri May 03 09:05:14 GMT 2024
    - Last Modified: Thu Nov 16 11:30:31 GMT 2023
    - 419K bytes
    - Viewed (0)
  8. CHANGELOG/CHANGELOG-1.6.md

    * Experimental support to reserve a pod's memory request from being utilized by
      pods in lower QoS tiers.
      ([#41149](https://github.com/kubernetes/kubernetes/pull/41149),
      [@sjenning](https://github.com/sjenning))
    * Port forwarding can forward over websockets or SPDY.
      ([#33684](https://github.com/kubernetes/kubernetes/pull/33684),
    Plain Text
    - Registered: Fri May 03 09:05:14 GMT 2024
    - Last Modified: Thu Dec 24 02:28:26 GMT 2020
    - 304K bytes
    - Viewed (0)
  9. CHANGELOG/CHANGELOG-1.29.md

    - CEL can now correctly handle a CRD `openAPIV3Schema` that has neither `Properties` nor `AdditionalProperties`. ([#121459](https://github.com/kubernetes/kubernetes/pull/121459), [@jiahuif](https://github.com/jiahuif))
    Plain Text
    - Registered: Fri May 03 09:05:14 GMT 2024
    - Last Modified: Tue Apr 16 21:41:06 GMT 2024
    - 299.9K bytes
    - Viewed (1)
  10. CHANGELOG/CHANGELOG-1.26.md

    - Fixes stuck apiserver if an aggregated apiservice returned 304 Not Modified for aggregated discovery information ([#114459](https://github.com/kubernetes/kubernetes/pull/114459), [@alexzielenski](https://github.com/alexzielenski)) [SIG API Machinery]
    Plain Text
    - Registered: Fri May 03 09:05:14 GMT 2024
    - Last Modified: Thu Mar 14 16:24:51 GMT 2024
    - 425.7K bytes
    - Viewed (0)
Back to top