

def create_logout_url(self, next_url='/'):
    if hasattr(local.request, settings.MARKETPLACE_DOMAIN_NAME_KEY):
        domain = getattr(local.request, settings.MARKETPLACE_DOMAIN_NAME_KEY)
        return create_marketplace_logout_url(domain, next_url)
    user = self.get_user(local.request)
    return create_gaema_logout_url(user.service, nexturl=next_url)

dataset/ETHPy150Open IanLewis/kay/kay/auth/backends/gaema.py GAEMABackend.create_logout_url/original