[1.8.x] Fixed broken links in class based views flattend index; refs #24250.
[1.8.x] Fixed broken links in class based views flattend index; refs #24250.

Backport of 9a391fbd6102176d576aa96ed3aeee9e9661b455 from master

h4r5h1t/django-hauthy,pquentin/django,h4r5h1t/django-hauthy,pquentin/django,pquentin/django,h4r5h1t/django-hauthy,h4r5h1t/django-hauthy