import httpresponseredirec django code example Example: django httpresponseredirect from django.http import HttpResponseRedirect