def ensure_absolute_url(self, request, url):
        if not (url.startswith('http://') or url.startswith('https://')):
            url = request.build_absolute_uri(url)
        return url
dataset/ETHPy150Open amarandon/smeuhsocial/apps/django_openid/consumer.py/Consumer.ensure_absolute_url/original