summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2014-01-16 07:58:08 -0500
committerTim Graham <timograham@gmail.com>2014-01-16 07:59:15 -0500
commit363b8c690a992f78f40137e0ff406cb3167653d6 (patch)
treef080cda9809797f016b9a681ddf40c70a5398cb8
parentb63dad3f452d8331d6e0372192a8ed2fcda23815 (diff)
[1.6.x] Fixed #21768 -- Corrected TemplateView context section.
Thanks nedbatchelder for the report and claudep for the patch. Backport of c05b2f58e7 from master
-rw-r--r--docs/ref/class-based-views/base.txt5
1 files changed, 3 insertions, 2 deletions
diff --git a/docs/ref/class-based-views/base.txt b/docs/ref/class-based-views/base.txt
index 06a2e8dd44..5b6e3af6b8 100644
--- a/docs/ref/class-based-views/base.txt
+++ b/docs/ref/class-based-views/base.txt
@@ -111,6 +111,7 @@ TemplateView
This view inherits methods and attributes from the following views:
* :class:`django.views.generic.base.TemplateResponseMixin`
+ * :class:`django.views.generic.base.ContextMixin`
* :class:`django.views.generic.base.View`
**Method Flowchart**
@@ -146,8 +147,8 @@ TemplateView
**Context**
- * ``params``: The dictionary of keyword arguments captured from the URL
- pattern that served the view.
+ * Populated (through :class:`~django.views.generic.base.ContextMixin`) with
+ the keyword arguments captured from the URL pattern that served the view.
RedirectView
------------