@register.tag
def firstof(parser, token):
    return defaulttags.firstof(parser, token, escape=True)
This is the future version of `firstof` with auto-escaping.
dataset/ETHPy150Open cloudera/hue/desktop/core/ext-py/Django-1.6.10/django/templatetags/future.py/firstof