Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 57 for Templates (0.06 seconds)

  1. docs/es/docs/advanced/templates.md

    ///
    
    ## Escribiendo plantillas { #writing-templates }
    
    Luego puedes escribir una plantilla en `templates/item.html` con, por ejemplo:
    
    ```jinja hl_lines="7"
    {!../../docs_src/templates/templates/item.html!}
    ```
    
    ### Valores de Contexto de la Plantilla { #template-context-values }
    
    En el HTML que contiene:
    
    {% raw %}
    
    ```jinja
    Item ID: {{ id }}
    ```
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 3.7K bytes
    - Click Count (0)
  2. docs/de/docs/advanced/templates.md

    ///
    
    ## Templates erstellen { #writing-templates }
    
    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
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 4.3K bytes
    - Click Count (0)
  3. docs/pt/docs/advanced/templates.md

    ///
    
    ## Escrevendo templates { #writing-templates }
    
    Então você pode escrever um template em `templates/item.html`, por exemplo:
    
    ```jinja hl_lines="7"
    {!../../docs_src/templates/templates/item.html!}
    ```
    
    ### Valores de contexto do template { #template-context-values }
    
    No código HTML que contém:
    
    {% raw %}
    
    ```jinja
    Item ID: {{ id }}
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 3.6K bytes
    - Click Count (0)
  4. docs/en/docs/advanced/templates.md

    ///
    
    ## Writing templates { #writing-templates }
    
    Then you can write a template at `templates/item.html` with, for example:
    
    ```jinja hl_lines="7"
    {!../../docs_src/templates/templates/item.html!}
    ```
    
    ### Template Context Values { #template-context-values }
    
    In the HTML that contains:
    
    {% raw %}
    
    ```jinja
    Item ID: {{ id }}
    ```
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 3.5K bytes
    - Click Count (0)
  5. 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 }}
    ```
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 5.1K bytes
    - Click Count (0)
  6. docs_src/templates/tutorial001_py39.py

    app = FastAPI()
    
    app.mount("/static", StaticFiles(directory="static"), name="static")
    
    
    templates = Jinja2Templates(directory="templates")
    
    
    @app.get("/items/{id}", response_class=HTMLResponse)
    async def read_item(request: Request, id: str):
        return templates.TemplateResponse(
            request=request, name="item.html", context={"id": id}
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 521 bytes
    - Click Count (0)
  7. tests/test_tutorial/test_templates/test_tutorial001.py

        if os.path.isdir("./static"):  # pragma: nocover
            shutil.rmtree("./static")
        if os.path.isdir("./templates"):  # pragma: nocover
            shutil.rmtree("./templates")
        shutil.copytree("./docs_src/templates/templates/", "./templates")
        shutil.copytree("./docs_src/templates/static/", "./static")
        from docs_src.templates.tutorial001_py39 import app
    
        client = TestClient(app)
        response = client.get("/items/foo")
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 915 bytes
    - Click Count (0)
  8. pyproject.toml

    Changelog = "https://fastapi.tiangolo.com/release-notes/"
    
    [project.optional-dependencies]
    
    standard = [
        "fastapi-cli[standard] >=0.0.8",
        # For the test client
        "httpx >=0.23.0,<1.0.0",
        # For templates
        "jinja2 >=3.1.5",
        # For forms and file uploads
        "python-multipart >=0.0.18",
        # To validate email fields
        "email-validator >=2.0.0",
        # Uvicorn with uvloop
        "uvicorn[standard] >=0.12.0",
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 12:54:56 GMT 2025
    - 9.3K bytes
    - Click Count (0)
  9. docs/en/docs/project-generation.md

    # Full Stack FastAPI Template { #full-stack-fastapi-template }
    
    Templates, while typically come with a specific setup, are designed to be flexible and customizable. This allows you to modify and adapt them to your project's requirements, making them an excellent starting point. 🏁
    
    You can use this template to get started, as it includes a lot of the initial set up, security, database and some API endpoints already done for you.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Dec 08 13:04:54 GMT 2025
    - 2K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/helper/RelatedContentHelper.java

         * pattern rather than an exact match term.
         */
        protected String regexPrefix = "regex:";
    
        /**
         * Placeholder string used in regex-based related content templates.
         * This placeholder is replaced with the actual search query when
         * a regex pattern matches the query.
         */
        protected String queryPlaceHolder = "__QUERY__";
    
        /**
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 8.2K bytes
    - Click Count (0)
Back to Top