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
This commit is contained in:
Claude Paroz 2012-04-16 11:38:43 +00:00
parent 157f823819
commit 38d7a3a0fe
1 changed files with 1 additions and 1 deletions

View File

@ -1666,7 +1666,7 @@ template-friendly proxy of permissions.
.. versionchanged:: 1.3 .. versionchanged:: 1.3
Prior to version 1.3, ``PermWrapper`` was located in 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 In the ``{{ perms }}`` object, single-attribute lookup is a proxy to
:meth:`User.has_module_perms <django.contrib.auth.models.User.has_module_perms>`. :meth:`User.has_module_perms <django.contrib.auth.models.User.has_module_perms>`.