Procházet zdrojové kódy

Fix docs for context_processors.auth

Copy said it created three context variables, but only lists two. ("messages" was removed.)
Andrew Badr před 12 roky
rodič
revize
29cd3d6c01
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      docs/ref/templates/api.txt

+ 1 - 1
docs/ref/templates/api.txt

@@ -433,7 +433,7 @@ django.contrib.auth.context_processors.auth
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
 If :setting:`TEMPLATE_CONTEXT_PROCESSORS` contains this processor, every
-``RequestContext`` will contain these three variables:
+``RequestContext`` will contain these variables:
 
 * ``user`` -- An ``auth.User`` instance representing the currently
   logged-in user (or an ``AnonymousUser`` instance, if the client isn't