Decouple cart: use shared.models for all cross-app imports
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 50s

- Replace all imports from blog.models, market.models, events.models
  and bare models.* with shared.models equivalents
- Convert cart/models/order.py and page_config.py to re-export stubs
- Update shared + glue submodule pointers

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
giles
2026-02-18 20:58:10 +00:00
parent d6d82664d6
commit 8527ddb84b
14 changed files with 32 additions and 183 deletions

4
app.py
View File

@@ -81,8 +81,8 @@ async def cart_context() -> dict:
def create_app() -> "Quart":
from blog.models.ghost_content import Post
from models.page_config import PageConfig
from shared.models.ghost_content import Post
from shared.models.page_config import PageConfig
app = create_base_app(
"cart",