8 lines
219 B
Python
8 lines
219 B
Python
"""Shared Jinja2Templates instance for all dashboard routes."""
|
|
|
|
from pathlib import Path
|
|
|
|
from fastapi.templating import Jinja2Templates
|
|
|
|
templates = Jinja2Templates(directory=str(Path(__file__).parent / "templates"))
|