'Catch Redirect exceptions and redirect the user to the expected URL.'

def process_exception(self, _request, exception):

    if isinstance(exception, Redirect):
        return redirect(exception.url)
