Fixed #23601 -- Prevent possible side-import through admindocs

Ticket https://code.djangoproject.com/ticket/23601