Commit a7fb311a authored by Tim Graham's avatar Tim Graham
Browse files

[1.8.x] Fixed #25229 -- Clarified how an iterable works with @permission_required

Backport of 16a8d013 from master
parent ce0f2a4a
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -595,7 +595,8 @@ The permission_required decorator
    .. versionchanged:: 1.7

        The :func:`~django.contrib.auth.decorators.permission_required`
        decorator can take a list of permissions as well as a single permission.
        decorator can take a list of permissions, in which case the user must
        have all of the permissions in order to access the view.

.. _applying-permissions-to-generic-views: