Redirects
redirect sends the browser elsewhere.
Example
from django.shortcuts import redirect
def old(request):
return redirect("home")Exercise
Send elsewhere.
return ("home")
Quiz Test
These free lessons are for learning. Join a full course for projects, mentor feedback and a verified certificate.