cleaned
This commit is contained in:
parent
551d77a7d9
commit
5ca331134c
7 changed files with 11 additions and 13 deletions
4
views.py
4
views.py
|
|
@ -1,7 +1,7 @@
|
|||
from http import HTTPStatus
|
||||
|
||||
from fastapi import Depends, Request
|
||||
from fastapi.templating import Jinja2Temps
|
||||
from fastapi.templating import Jinja2Templates
|
||||
from starlette.exceptions import HTTPException
|
||||
from starlette.responses import HTMLResponse
|
||||
|
||||
|
|
@ -12,7 +12,7 @@ from lnbits.settings import settings
|
|||
from . import temp_ext, template_renderer
|
||||
from .crud import get_temp
|
||||
|
||||
temps = Jinja2Temps(directory="temps")
|
||||
temps = Jinja2Templates(directory="temps")
|
||||
|
||||
|
||||
#######################################
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue