From 64bbf5187c6e56c62ef9028fa72695bbf8b4e14a Mon Sep 17 00:00:00 2001 From: Claude Paroz Date: Mon, 16 Apr 2012 11:40:25 +0000 Subject: [PATCH] [1.4.X] Fixed #18316 -- Fixed pre-1.3 PermWrapper? location in docs. Thanks Adrien Lemaire for the patch. Backport of r17913 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.4.X@17914 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- docs/topics/auth.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/topics/auth.txt b/docs/topics/auth.txt index 1b97c68791..fcd8f4f677 100644 --- a/docs/topics/auth.txt +++ b/docs/topics/auth.txt @@ -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 `.