mirror of
https://github.com/django/django.git
synced 2025-08-03 18:38:50 +00:00
Fixed #19536 -- Included object-tools when ModelAdmin.has_add_permission() is False.
This commit is contained in:
parent
d9e150b311
commit
ff19df9c2d
4 changed files with 27 additions and 5 deletions
|
@ -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`
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue