return_new = lambda *args, **kwargs: UndefinedSilently()


class UndefinedSilently(Undefined):
    __unicode__ = silently
__str__ = silently
__call__ = return_new
__getattr__ = return_new
jinja2: How to make it fail Silently like djangotemplate