Fixed #21768 -- Corrected TemplateView context section.

Thanks nedbatchelder for the report and claudep for the patch.
This commit is contained in:
Tim Graham 2014-01-16 07:58:08 -05:00 committed by Anssi Kääriäinen
parent fd998f067f
commit cc8e084ea5
1 changed files with 3 additions and 2 deletions

View File

@ -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
------------