how to redirect the user to external url using http django code example
Example: django redirect to external url
from django.shortcuts import redirect
def optout(request):
return redirect("http://stackoverflow.com/")
from django.shortcuts import redirect
def optout(request):
return redirect("http://stackoverflow.com/")