- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 68 for templates (0.3 sec)
-
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 }} ```Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 3.7K bytes - Viewed (0) -
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 %} ```jinjaRegistered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 4.3K bytes - Viewed (0) -
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 }}Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 3.6K bytes - Viewed (0) -
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 }} ```Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 3.5K bytes - Viewed (0) -
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 }} ```Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 5.1K bytes - Viewed (0) -
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}
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 521 bytes - Viewed (0) -
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")
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 915 bytes - Viewed (0) -
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",Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 27 12:54:56 UTC 2025 - 9.3K bytes - Viewed (0) -
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.Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Mon Dec 08 13:04:54 UTC 2025 - 2K bytes - Viewed (0) -
.github/workflows/check-markdown-links.yml
steps: - name: Checkout uses: actions/checkout@v6 - name: Check links uses: lycheeverse/lychee-action@v2.7.0 with: # excluded: # - notes.md and notes-templates.md - because they are a part of user guide # - Kotlin's Module.md - because it's a part of the Kotlin DSL docs args: > --no-progress --offline '**/*.md' --include-fragmentsRegistered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Thu Nov 20 22:15:20 UTC 2025 - 920 bytes - Viewed (0)