From 11b012038cb077b6d3648b49ddb754e088e39f0c Mon Sep 17 00:00:00 2001 From: Gabriel Hurley Date: Sat, 6 Nov 2010 23:30:10 +0000 Subject: [PATCH] Fixed #14600 -- Added a versionchanged directive to the TEMPLATE_CONTEXT_PROCESSORS setting reference, and added a currentmodule directive to the staticfiles docs so that the crossref targets would point to the right place even with full paths in the staticfiles docs. Thanks to mathijs for the report and suggested text. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14479 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- docs/ref/contrib/staticfiles.txt | 2 ++ docs/ref/settings.txt | 8 +++++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/docs/ref/contrib/staticfiles.txt b/docs/ref/contrib/staticfiles.txt index 4edfed6e9b..046e84f8ca 100644 --- a/docs/ref/contrib/staticfiles.txt +++ b/docs/ref/contrib/staticfiles.txt @@ -210,6 +210,8 @@ for each relative path, use the ``--first`` option:: This is a debugging aid; it'll show you exactly which static file will be collected for a given path. +.. currentmodule:: None + Other Helpers ============= diff --git a/docs/ref/settings.txt b/docs/ref/settings.txt index fa88a9492d..abe4a443e5 100644 --- a/docs/ref/settings.txt +++ b/docs/ref/settings.txt @@ -1500,7 +1500,7 @@ These callables take a request object as their argument and return a dictionary of items to be merged into the context. .. versionchanged:: 1.2 - ``"django.contrib.messages.context_processors.messages"`` was added to the + ``django.contrib.messages.context_processors.messages`` was added to the default. For more information, see the :doc:`messages documentation `. @@ -1509,6 +1509,12 @@ of items to be merged into the context. ``django.core.context_processors.auth`` to ``django.contrib.auth.context_processors.auth``. +.. versionchanged:: 1.3 + ``django.core.context_processors.media`` was replaced by + :func:`django.contrib.staticfiles.context_processors.staticfiles` in the + default. For more information, see the :doc:`staticfiles documentation + `. + .. setting:: TEMPLATE_DEBUG TEMPLATE_DEBUG