Fixed #21261 -- Added missing import in RedirectView docs

Thanks yokomizor.