79428889

Date: 2025-02-11 04:35:19
Score: 2
Natty:
Report link

You should put a list of strings in the Junja2Templates class just as I did and it solved my issue.

templates = Jinja2Templates(directory=['html_templates', 'app/html_templates'])

Oficial starlette docs: https://www.starlette.io/templates/

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Макс Чубаров