﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
29639	Fault in the documentation around usage of Context versus dict	JeroenPeterBos	nobody	"**Problem**
In the documentation on the following page there is a mistake:
[https://docs.djangoproject.com/en/2.1/ref/templates/api/#django.template.Template.render]

Under ''Rendering a context'' -> ''Template.render(context)'' it is demonstrated how to render a context onto a template.
However doing this results in the error: ''TypeError: context must be a dict rather than Context.''

I have found that this usage of the ''Context'' class is deprecated in Django 1.10+.

**Solution**
The documentation regarding ''Rendering a Context'' should be updated to insert a dictionary instead of first creating a Context and passing that to the ''render'' function."	Bug	closed	Documentation	2.1	Normal	invalid	Deprecated Usage		Unreviewed	0	0	0	0	0	0
