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

- Replace all imports from cart.models, market.models, events.models
  with shared.models equivalents
- Convert blog/models/ghost_content.py to re-export stub
- 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:57:56 +00:00
parent 1ea2950310
commit c537770172
10 changed files with 21 additions and 234 deletions

View File

@@ -4,7 +4,7 @@ from sqlalchemy.ext.asyncio import AsyncSession
from sqlalchemy import select
from sqlalchemy.sql import func
from events.models.calendars import CalendarEntry, CalendarEntryPost, Calendar
from shared.models.calendars import CalendarEntry, CalendarEntryPost, Calendar
from models.ghost_content import Post

View File

@@ -6,9 +6,9 @@ import unicodedata
from sqlalchemy import select
from sqlalchemy.ext.asyncio import AsyncSession
from market.models.market_place import MarketPlace
from shared.models.market_place import MarketPlace
from models.ghost_content import Post
from cart.models.page_config import PageConfig
from shared.models.page_config import PageConfig
from shared.browser.app.utils import utcnow
from glue.services.relationships import attach_child, detach_child