Skip to content

Commit

Permalink
[1.6.x] Fixed #21768 -- Corrected TemplateView context section.
Browse files Browse the repository at this point in the history
Thanks nedbatchelder for the report and claudep for the patch.

Backport of c05b2f5 from master
  • Loading branch information
timgraham committed Jan 16, 2014
1 parent b63dad3 commit 363b8c6
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docs/ref/class-based-views/base.txt
Expand Up @@ -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**
Expand Down Expand Up @@ -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
------------
Expand Down

0 comments on commit 363b8c6

Please sign in to comment.