Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

django redirect to external url

   from django.shortcuts import redirect

   def optout(request):
       return redirect("http://stackoverflow.com/")
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #django #redirect #external #url
ADD COMMENT
Topic
Name
1+1 =