Skip to content

Commit d00a70a

Browse files
committed
more imports
1 parent 0c5aa30 commit d00a70a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

template/{% if has_backend %}backend{% endif %}/src/backend_api/app_def.py.jinja

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ from fastapi.middleware.cors import CORSMiddleware
1212
from fastapi.staticfiles import StaticFiles
1313
from fastapi_offline import FastAPIOffline
1414
from pydantic import BaseModel
15-
from pydantic import Field
16-
from starlette.responses import HTMLResponse{% endraw %}{% if backend_uses_graphql %}{% raw %}
15+
from pydantic import Field{% endraw %}{% if backend_uses_graphql %}{% raw %}
16+
from starlette.responses import HTMLResponse
1717
from strawberry.fastapi import GraphQLRouter{% endraw %}{% endif %}{% raw %}
1818

1919
from .jinja_constants import HUMAN_FRIENDLY_APP_NAME{% endraw %}{% if backend_uses_graphql %}{% raw %}

0 commit comments

Comments
 (0)