This repository has been archived on 2026-02-24. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
shared/models/__init__.py
giles 7eb66fbf24 feat: add MarketPlace model, migration, and market_url_for helper
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>
2026-02-10 18:08:18 +00:00

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