Misc cleanup

This commit is contained in:
Jeremy Stretch
2025-11-06 14:54:40 -05:00
parent 6fc04bd1fe
commit a024012abd
7 changed files with 210 additions and 96 deletions

View File

@@ -184,4 +184,7 @@ def static_with_params(path, **params):
@register.simple_tag(takes_context=True)
def render(context, component):
"""
Render a UI component (e.g. a Panel) by calling its render() method and passing the current template context.
"""
return mark_safe(component.render(context))