Ticket #25229: 25229.diff

File 25229.diff, 672 bytes (added by Tim Graham, 9 years ago)
  • docs/topics/auth/default.txt

    diff --git a/docs/topics/auth/default.txt b/docs/topics/auth/default.txt
    index 2d680fd..ac18a7c 100644
    a b The ``permission_required`` decorator  
    661661    (i.e. ``polls.can_vote`` for a permission on a model in the ``polls``
    662662    application).
    663663
    664     The decorator may also take an iterable of permissions.
     664    The decorator may also take an iterable of permissions, in which case the
     665    user must have all of the permissions in order to access the view.
    665666
    666667    Note that :func:`~django.contrib.auth.decorators.permission_required()`
    667668    also takes an optional ``login_url`` parameter::
Back to Top