Fixed #22112 -- Added RedirectView.pattern_name to CBV flattened index

Thanks nikunj.sg for the report

Moved accessor method get_redirect_url next to its attribute url.