Commit 38d7a3a0 authored by Claude Paroz's avatar Claude Paroz
Browse files

Fixed #18316 -- Fixed pre-1.3 PermWrapper location in docs. Thanks Adrien Lemaire for the patch.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@17913 bcc190cf-cafb-0310-a4f2-bffc1f526a37
parent 157f8238
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1666,7 +1666,7 @@ template-friendly proxy of permissions.

.. versionchanged:: 1.3
    Prior to version 1.3, ``PermWrapper`` was located in
    ``django.contrib.auth.context_processors``.
    ``django.core.context_processors``.

In the ``{{ perms }}`` object, single-attribute lookup is a proxy to
:meth:`User.has_module_perms <django.contrib.auth.models.User.has_module_perms>`.