mirror of
https://github.com/django/django.git
synced 2025-04-15 12:54:38 +00:00
[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
This commit is contained in:
parent
2fa8b3f143
commit
64bbf5187c
@ -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>`.
|
||||
|
Loading…
x
Reference in New Issue
Block a user