@register.filter
def external_url(url):
    return urlresolvers.get_outgoing_url(unicode(url))
Bounce a URL off outgoing.mozilla.org.
dataset/ETHPy150Open mozilla/addons-server/src/olympia/amo/helpers.py/external_url