def warn_unsupported(*args, **kwargs):
    raise TemplateError(f"Use of '{name}' is not supported in limited templates")
def warn_unsupported(*args, **kwargs):
    raise TemplateError(f"Use of '{name}' is not supported in limited templates")