diff options
| author | mariatta <mariatta.wijaya@gmail.com> | 2026-04-03 11:44:02 -0700 |
|---|---|---|
| committer | Jacob Walls <jacobtylerwalls@gmail.com> | 2026-04-07 15:38:35 -0400 |
| commit | e2abe321a6f1370e05c1a89a742125c9eafcac8c (patch) | |
| tree | 85bd11175bfa5e3e3cc9e7ccbb9c3af31cc37f4e /docs/releases | |
| parent | 74e73dc1315d696330621a7f08310a2e87ea0eba (diff) | |
Fixed #37021 -- Added Permission.user_perm_str property.
For use in checking user permissions via has_perm().
Co-authored-by: 사재혁 <jaehyuck.sa.dev@gmail.com>
Diffstat (limited to 'docs/releases')
| -rw-r--r-- | docs/releases/6.1.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/releases/6.1.txt b/docs/releases/6.1.txt index 9c8aeea70c..00eaf5388d 100644 --- a/docs/releases/6.1.txt +++ b/docs/releases/6.1.txt @@ -129,6 +129,9 @@ Minor features * :attr:`.Permission.name` and :attr:`.Permission.codename` values are now renamed when renaming models via a migration. +* The new :attr:`.Permission.user_perm_str` property returns the string + suitable to use with :meth:`.User.has_perm`. + :mod:`django.contrib.contenttypes` ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
