mirror of
				https://github.com/django/django.git
				synced 2025-10-29 00:26:07 +00:00 
			
		
		
		
	[1.5.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:
		| @@ -110,6 +110,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** | ||||||
| @@ -145,8 +146,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 | ||||||
| ------------ | ------------ | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user