Merge branch 'macros'

# Conflicts:
#	blog/bp/post/admin/routes.py
#	events/sxc/pages/calendar.py
#	events/sxc/pages/entries.py
#	events/sxc/pages/slots.py
#	events/sxc/pages/tickets.py
This commit is contained in:
2026-03-05 16:40:06 +00:00
69 changed files with 18073 additions and 977 deletions

View File

@@ -175,7 +175,7 @@ def render_like_toggle_button(slug: str, liked: bool, *,
return sx_call(
"market-like-toggle-button",
colour=colour, action=like_url,
hx_headers=f'{{"X-CSRFToken": "{csrf}"}}',
hx_headers={"X-CSRFToken": csrf},
label=label, icon_cls=icon,
)