diff options
| author | Tim Graham <timograham@gmail.com> | 2014-01-16 07:58:08 -0500 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2014-01-16 07:58:08 -0500 |
| commit | c05b2f58e7f38293fdf0f92e618fcbe769881912 (patch) | |
| tree | 1b1ba9b78e56eaf1858186fe7d2dcbbe3f4c4171 /docs | |
| parent | d35f2bfd5b3a73340275bbd2af5065cba8d42c97 (diff) | |
Fixed #21768 -- Corrected TemplateView context section.
Thanks nedbatchelder for the report and claudep for the patch.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/ref/class-based-views/base.txt | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/docs/ref/class-based-views/base.txt b/docs/ref/class-based-views/base.txt index 44db131943..7b627d3d44 100644 --- a/docs/ref/class-based-views/base.txt +++ b/docs/ref/class-based-views/base.txt @@ -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 ------------ |
