mirror of
https://github.com/django/django.git
synced 2025-11-07 07:15:35 +00:00
Fixed #24929 -- Allowed permission_required decorator to take any iterable
This commit is contained in:
committed by
Tim Graham
parent
8b1f39a727
commit
39937de7e6
@@ -114,6 +114,10 @@ Minor features
|
||||
a deprecation warning in older versions and is no longer supported in
|
||||
Django 1.9).
|
||||
|
||||
* The permission argument of
|
||||
:func:`~django.contrib.auth.decorators.permission_required()` accepts all
|
||||
kinds of iterables, not only list and tuples.
|
||||
|
||||
:mod:`django.contrib.gis`
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
|
||||
Reference in New Issue
Block a user