Commit b83dae68 authored by Tim Graham's avatar Tim Graham
Browse files

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

Thanks nedbatchelder for the report and claudep for the patch.

Backport of c05b2f58 from master
parent a3268040
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -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
------------