mirror of
https://github.com/django/django.git
synced 2025-10-24 14:16:09 +00:00
Fixed #23601 -- Ensured view exists in URLconf before importing it in admindocs.
This commit is contained in:
committed by
Tim Graham
parent
a24cf21722
commit
2f16ff5a6c
@@ -76,6 +76,14 @@ Minor features
|
||||
<django.contrib.admin.ModelAdmin.show_full_result_count>` to control whether
|
||||
or not the full count of objects should be displayed on a filtered admin page.
|
||||
|
||||
:mod:`django.contrib.admindocs`
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
* The view to browse view details now checks if the view specified in the URL
|
||||
exists in the URLconf. Previously it was possible to import arbitrary
|
||||
packages from the Python path. This was not considered a security issue
|
||||
because ``admindocs`` is only accessible to staff users.
|
||||
|
||||
:mod:`django.contrib.auth`
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
|
||||
Reference in New Issue
Block a user