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:59:18 -0500 |
| commit | b83dae688e7cd6775bf6d12c7fe5a7a5f40e7437 (patch) | |
| tree | ebdb1d61d067ec88a58005af6ab64980da948ba5 | |
| parent | a32680407b092a13f45a070f595f1996139b7539 (diff) | |
[1.5.x] Fixed #21768 -- Corrected TemplateView context section.
Thanks nedbatchelder for the report and claudep for the patch.
Backport of c05b2f58e7 from master
| -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 bc066cae21..9deff15076 100644 --- a/docs/ref/class-based-views/base.txt +++ b/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 ------------ |
