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

- Replace all imports from blog.models and cart.models
  with shared.models equivalents
- Convert events/models/calendars.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:58:14 +00:00
parent 6e9c973572
commit ba456dca4c
9 changed files with 13 additions and 305 deletions

View File

@@ -4,7 +4,7 @@ from sqlalchemy import select
from sqlalchemy.ext.asyncio import AsyncSession
from models.calendars import Calendar
from blog.models.ghost_content import Post # for FK existence checks
from shared.models.ghost_content import Post # for FK existence checks
from glue.services.relationships import attach_child, detach_child
import unicodedata
import re