Ticket #18136: 0001-Fix-PermWrapper-doc.patch

File 0001-Fix-PermWrapper-doc.patch, 825 bytes (added by Adrien Lemaire, 12 years ago)
  • docs/topics/auth.txt

    From ac427cc7d73fc063dcb96a639f6f5e60f7abbc8e Mon Sep 17 00:00:00 2001
    From: Adrien Lemaire <lemaire.adrien@gmail.com>
    Date: Sun, 15 Apr 2012 10:50:15 +0900
    Subject: [PATCH] Fix PermWrapper doc
    
    ---
     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 1b97c68..fcd8f4f 100644
    a b template-friendly proxy of permissions.  
    16661666
    16671667.. versionchanged:: 1.3
    16681668    Prior to version 1.3, ``PermWrapper`` was located in
    1669     ``django.contrib.auth.context_processors``.
     1669    ``django.core.context_processors``.
    16701670
    16711671In the ``{{ perms }}`` object, single-attribute lookup is a proxy to
    16721672:meth:`User.has_module_perms <django.contrib.auth.models.User.has_module_perms>`.
Back to Top