mirror of
https://github.com/django/django.git
synced 2025-06-05 03:29:12 +00:00
[2.1.x] Fixed typo in docs/releases/2.1.txt.
Backport of 0192e9a976ea7018220ec607de63a641323404b1 from master
This commit is contained in:
parent
7b0da16725
commit
322b70f605
@ -326,9 +326,9 @@ New default view permission could allow unwanted access to admin views
|
|||||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
If you have a custom permission with a codename of the form
|
If you have a custom permission with a codename of the form
|
||||||
``can_view_<modelname>``, the new view permission handling in the admin will
|
``view_<modelname>``, the new view permission handling in the admin will allow
|
||||||
allow view access to the changelist and detail pages for those models. If this
|
view access to the changelist and detail pages for those models. If this is
|
||||||
is unwanted, you must change your custom permission codename.
|
unwanted, you must change your custom permission codename.
|
||||||
|
|
||||||
Miscellaneous
|
Miscellaneous
|
||||||
-------------
|
-------------
|
||||||
|
Loading…
x
Reference in New Issue
Block a user