mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
Fixed #19536 -- Included object-tools when ModelAdmin.has_add_permission() is False.
This commit is contained in:
committed by
Tim Graham
parent
d9e150b311
commit
ff19df9c2d
@@ -47,6 +47,10 @@ Minor features
|
||||
classes on inline fieldsets. Inlines with a ``collapse`` class will be
|
||||
initially collapsed and their header will have a small "show" link.
|
||||
|
||||
* If a user doesn't have the add permission, the ``object-tools`` block on a
|
||||
model's changelist will now be rendered (without the add button, of course).
|
||||
This makes it easier to add custom tools in this case.
|
||||
|
||||
:mod:`django.contrib.admindocs`
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
|
||||
Reference in New Issue
Block a user