Ticket #12968: 12968.diff

File 12968.diff, 1.7 KB (added by Ramiro Morales, 15 years ago)
  • docs/ref/settings.txt

    diff --git a/docs/ref/settings.txt b/docs/ref/settings.txt
    a b  
    13861386   default.  For more information, see the :ref:`messages documentation
    13871387   <ref-contrib-messages>`.
    13881388
     1389.. versionchanged:: 1.2
     1390    The auth context processor was moved in this release from its old location
     1391    ``django.core.context_processors.auth`` to
     1392    ``django.contrib.auth.context_processors.auth``.
     1393
    13891394.. setting:: TEMPLATE_DEBUG
    13901395
    13911396TEMPLATE_DEBUG
  • docs/ref/templates/api.txt

    diff --git a/docs/ref/templates/api.txt b/docs/ref/templates/api.txt
    a b  
    325325   The ``'messages'`` context processor was added.  For more information, see
    326326   the :ref:`messages documentation <ref-contrib-messages>`.
    327327
     328.. versionchanged:: 1.2
     329    The auth context processor was moved in this release from its old location
     330    ``django.core.context_processors.auth`` to
     331    ``django.contrib.auth.context_processors.auth``.
     332
    328333Each processor is applied in order. That means, if one processor adds a
    329334variable to the context and a second processor adds a variable with the same
    330335name, the second will override the first. The default processors are explained
     
    378383      permissions that the currently logged-in user has.
    379384
    380385.. versionchanged:: 1.2
     386    This context processor was moved in this release from
     387    ``django.core.context_processors.auth`` to its current location.
     388
     389.. versionchanged:: 1.2
    381390   Prior to version 1.2, the ``messages`` variable was a lazy accessor for
    382391   ``user.get_and_delete_messages()``. It has been changed to include any
    383392   messages added via the :ref:`messages framework <ref-contrib-messages>`.
Back to Top