summaryrefslogtreecommitdiff
path: root/docs/generic_views.txt
diff options
context:
space:
mode:
authorAdrian Holovaty <adrian@holovaty.com>2005-12-24 04:39:59 +0000
committerAdrian Holovaty <adrian@holovaty.com>2005-12-24 04:39:59 +0000
commit49fd163a95074c07a23f2ccf9e23aebf5bee0bb2 (patch)
tree78ca0957bfc75f190e34d218c7d0eba33afb5d49 /docs/generic_views.txt
parentd9269055c941bd864049207441d7955ec65760fe (diff)
Fixed #925 -- Added TEMPLATE_CONTEXT_PROCESSORS, which lets you specify processesors for DjangoContext. Thanks, Luke Plant
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1773 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs/generic_views.txt')
-rw-r--r--docs/generic_views.txt10
1 files changed, 7 insertions, 3 deletions
diff --git a/docs/generic_views.txt b/docs/generic_views.txt
index d196d2cf96..cfca09d5b1 100644
--- a/docs/generic_views.txt
+++ b/docs/generic_views.txt
@@ -128,9 +128,14 @@ arguments:
``extra_context`` A dictionary of extra data to put into the
template's context.
+
+ ``processors`` **New in Django development version.** A tuple of
+ processors to apply to the ``DjangoContext`` of
+ this view's template. See the `DjangoContext docs`_
======================= ==================================================
-.. _`database API docs`: http://www.djangoproject.com/documentation/db_api/
+.. _database API docs: http://www.djangoproject.com/documentation/db_api/
+.. _DjangoContext docs: http://www.djangoproject.com/documentation/templates_python/#subclassing-context-djangocontext
The date-based generic functions are:
@@ -247,7 +252,7 @@ The list-detail generic-view framework (in the
except the former simply has two views: a list of objects and an individual
object page.
-All these views take the same three optional arguments as the date-based ones
+All these views take the same four optional arguments as the date-based ones
-- and, clearly, they don't accept the ``date_field`` argument.
Individual views are:
@@ -371,4 +376,3 @@ The create/update/delete views are:
object
The object about to be deleted
-