Since django 3.2, AdminSite.final_catch_all_view has been introduced:
A boolean value that determines whether to add a final catch-all view to the admin that redirects unauthenticated users to the login page. By default, it is set to True.
:warning: Setting this to False is not recommended as the view protects against a potential model enumeration privacy issue.
Since
django 3.2
,AdminSite.final_catch_all_view
has been introduced:The url of any dashboard results in a 404 error.