Skip to content

Commit

Permalink
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.
  • Loading branch information
timgraham committed Jan 16, 2014
1 parent d35f2bf commit c05b2f5
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 @@ -105,6 +105,7 @@ TemplateView
This view inherits methods and attributes from the following views: This view inherits methods and attributes from the following views:


* :class:`django.views.generic.base.TemplateResponseMixin` * :class:`django.views.generic.base.TemplateResponseMixin`
* :class:`django.views.generic.base.ContextMixin`
* :class:`django.views.generic.base.View` * :class:`django.views.generic.base.View`


**Method Flowchart** **Method Flowchart**
Expand Down Expand Up @@ -140,8 +141,8 @@ TemplateView


**Context** **Context**


* ``params``: The dictionary of keyword arguments captured from the URL * Populated (through :class:`~django.views.generic.base.ContextMixin`) with
pattern that served the view. the keyword arguments captured from the URL pattern that served the view.


RedirectView RedirectView
------------ ------------
Expand Down

0 comments on commit c05b2f5

Please sign in to comment.