def logout(): from uliweb.contrib.auth import logout as out from uliweb import settings out() next = unquote(request.values.get('next', add_prefix('/'))) return redirect(next)
def logout(): from uliweb.contrib.auth import logout as out from uliweb import settings out() next = urllib.unquote(request.POST.get('next', add_prefix('/'))) return redirect(next)
def logout(): from uliweb.contrib.auth import logout as out out() Redirect(get_lenovoid_logout_url())
def logout(): from uliweb.contrib.auth import logout as out out() next = urllib.unquote(request.POST.get('next', '/')) return redirect(next)
def logout(): from uliweb.contrib.auth import logout as out out() next = request.GET.get('next', '/') return redirect(next)