mirror of
https://github.com/django/django.git
synced 2025-11-07 07:15:35 +00:00
Fixed #6327 -- Added has_module_permission method to BaseModelAdmin
Thanks chrj for the suggestion.
This commit is contained in:
committed by
Tim Graham
parent
bf743a4d57
commit
504c89e800
@@ -31,7 +31,9 @@ Minor features
|
||||
:mod:`django.contrib.admin`
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
* ...
|
||||
* :class:`~django.contrib.admin.ModelAdmin` now has a
|
||||
:meth:`~django.contrib.admin.ModelAdmin.has_module_permission`
|
||||
method to allow limiting access to the module on the admin index page.
|
||||
|
||||
:mod:`django.contrib.auth`
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
Reference in New Issue
Block a user