Fixed #23601 -- Ensured view exists in URLconf before importing it in admindocs.