Преглед на файлове

Fix docs for context_processors.auth

Copy said it created three context variables, but only lists two. ("messages" was removed.)
Andrew Badr преди 12 години
родител
ревизия
29cd3d6c01
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  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