mirror of
https://github.com/fastapi/fastapi.git
synced 2026-03-02 21:59:59 -05:00
365 B
365 B
Templating - Jinja2Templates
You can use the Jinja2Templates class to render Jinja templates.
Read more about it in the FastAPI docs for Templates.
You can import it directly from fastapi.templating:
from fastapi.templating import Jinja2Templates
::: fastapi.templating.Jinja2Templates