()
return registered_layouts
Get registered layouts.
Get registered layouts.
Get registered layouts .
def get_registered_layouts():
    """Get registered layouts."""
    ensure_autodiscover()

    registered_layouts = []

    for uid, layout in layout_registry._registry.items():
        registered_layouts.append((uid, safe_text(layout.name)))

    return registered_layouts
def get_registered_layouts ( ) : ensure_autodiscover ( ) registered_layouts = [ ] for uid , layout in layout_registry . _registry . items ( ) : registered_layouts . append ( ( uid , safe_text ( layout . name ) ) ) return registered_layouts