mirror of https://github.com/django/django.git
[1.6.x] Fixed #21768 -- Corrected TemplateView context section.
Thanks nedbatchelder for the report and claudep for the patch.
Backport of c05b2f58e7
from master
This commit is contained in:
parent
b63dad3f45
commit
363b8c690a
|
@ -111,6 +111,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**
|
||||
|
@ -146,8 +147,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
|
||||
------------
|
||||
|
|
Loading…
Reference in New Issue