from django.shortcuts import redirect def optout(request): return redirect("http://stackoverflow.com/")