Browse files

Fixed #21768 -- Corrected TemplateView context section.

Thanks nedbatchelder for the report and claudep for the patch.
  • Loading branch information...
1 parent d35f2bf commit c05b2f58e7f38293fdf0f92e618fcbe769881912 @timgraham timgraham committed Jan 16, 2014
Showing with 3 additions and 2 deletions.
  1. +3 −2 docs/ref/class-based-views/base.txt
View
5 docs/ref/class-based-views/base.txt
@@ -105,6 +105,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**
@@ -140,8 +141,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
------------

0 comments on commit c05b2f5

Please sign in to comment.