From 3e682bbc8986e9f372943b97e2fc27d3a4adeced Mon Sep 17 00:00:00 2001 From: Brian Wiborg Date: Sun, 28 Sep 2025 17:04:00 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Make=20apps=20"just=20work"=20ou?= =?UTF-8?q?t-of-the-box?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/ohmyapi/core/templates/app/routes.py.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ohmyapi/core/templates/app/routes.py.j2 b/src/ohmyapi/core/templates/app/routes.py.j2 index 044a533..a5a4d4f 100644 --- a/src/ohmyapi/core/templates/app/routes.py.j2 +++ b/src/ohmyapi/core/templates/app/routes.py.j2 @@ -1,6 +1,6 @@ from ohmyapi.router import APIRouter -from .models import ... +from . import models # Expose your app's routes via `router = fastapi.APIRouter`. # Use prefixes wisely to avoid cross-app namespace-collisions.