Skip to content

Wagtail hooks

hypha.core.wagtail_hooks

global_admin_css

global_admin_css()
Source code in hypha/core/wagtail_hooks.py
@hooks.register("insert_global_admin_css")
def global_admin_css():
    return format_html(
        '<link rel="stylesheet" href="{}">', static("css/wagtail_global_admin.css")
    )