Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[1.5.x] Fixed #21768 -- Corrected TemplateView context section.

Thanks nedbatchelder for the report and claudep for the patch.

Backport of c05b2f5 from master
  • Loading branch information...
commit b83dae688e7cd6775bf6d12c7fe5a7a5f40e7437 1 parent a326804
@timgraham timgraham authored
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
@@ -110,6 +110,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**
@@ -145,8 +146,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
------------
Please sign in to comment.
Something went wrong with that request. Please try again.