Introduces per-page markets (Phase 2): - MarketPlace model with soft-delete and unique slug index - NavTop gains market_id FK to scope nav hierarchy per market - Migration with backfill creates default 'suma-market' for existing market page - market_url_for() cross-app URL helper Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
24 lines
602 B
Python
24 lines
602 B
Python
from .kv import KV
|
|
from .user import User
|
|
from .magic_link import MagicLink
|
|
from .market import ProductLike
|
|
from .ghost_content import Author, Tag, Post, PostAuthor, PostTag, PostLike
|
|
from .menu_item import MenuItem
|
|
|
|
|
|
from .ghost_membership_entities import (
|
|
GhostLabel, UserLabel,
|
|
GhostNewsletter, UserNewsletter,
|
|
GhostTier, GhostSubscription,
|
|
)
|
|
|
|
from .calendars import Calendar, CalendarEntry, Ticket
|
|
from .page_config import PageConfig
|
|
from .market_place import MarketPlace
|
|
|
|
|
|
|
|
from .order import Order, OrderItem
|
|
from .snippet import Snippet
|
|
from .tag_group import TagGroup, TagGroupTag
|