(self)
return request.build_absolute_uri(
            self._redirect_uri
            or (request.is_ajax() and request.META.get("HTTP_REFERER"))
            or None
        )
授权后重定向回的地址
授权后重定向回的地址
授权后重定向回的地址
def redirect_uri(self):
        """授权后重定向回的地址"""
        # 绝对路径
        if self._redirect_uri and urlparse(self._redirect_uri).netloc:
            return self._redirect_uri

        request = self.request
        return request.build_absolute_uri(
            self._redirect_uri
            or (request.is_ajax() and request.META.get("HTTP_REFERER"))
            or None
        )
def redirect_uri ( self ) : # 绝对路径 if self . _redirect_uri and urlparse ( self . _redirect_uri ) . netloc : return self . _redirect_uri request = self . request return request . build_absolute_uri ( self . _redirect_uri or ( request . is_ajax ( ) and request . META . get ( "HTTP_REFERER" ) ) or None )