Skip to content

Commit e3420e6

Browse files
committed
fix missing imports in fastapi and starlette app templates
1 parent a7e5879 commit e3420e6

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

piccolo/apps/asgi/commands/templates/app/_fastapi_app.py.jinja

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ from fastapi.responses import JSONResponse
99
from starlette.staticfiles import StaticFiles
1010

1111
from home.endpoints import HomeEndpoint
12+
from home.piccolo_app import APP_CONFIG
1213
from home.tables import Task
1314

1415

piccolo/apps/asgi/commands/templates/app/_starlette_app.py.jinja

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ from starlette.applications import Starlette
66
from starlette.staticfiles import StaticFiles
77

88
from home.endpoints import HomeEndpoint
9+
from home.piccolo_app import APP_CONFIG
910
from home.tables import Task
1011

1112

0 commit comments

Comments
 (0)