Slim events + sx sxc/pages/__init__.py → registration-only

Events: 3861 → 21 lines, split into 8 sub-modules (renders, helpers,
layouts, calendar, entries, slots, tickets, utils). Updated 16 bp routes.

SX Docs: 3224 → 27 lines, split into 5 sub-modules (renders, utils,
essays, helpers, layouts). Updated 37 import sites in bp/pages/routes.py.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-04 17:07:08 +00:00
parent 9cbfb09b41
commit 5344b382a5
31 changed files with 7255 additions and 7132 deletions

View File

@@ -42,7 +42,7 @@ def register():
return await make_response(render_comp("error-inline", message=str(e)), 422)
from shared.sx.page import get_template_context
from sxc.pages import render_markets_list_panel
from sxc.pages.renders import render_markets_list_panel
ctx = await get_template_context()
return sx_response(await render_markets_list_panel(ctx))
@@ -55,7 +55,7 @@ def register():
return await make_response("Market not found", 404)
from shared.sx.page import get_template_context
from sxc.pages import render_markets_list_panel
from sxc.pages.renders import render_markets_list_panel
ctx = await get_template_context()
return sx_response(await render_markets_list_panel(ctx))