react redirect as response code example Example: import redirect from django.shortcuts import redirect