﻿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
25854	Remove deprecated usage of template.render() with RequestContext in docs	stephanm	Alasdair Nicol	"I am just switching from django 1.8.7 to 1.9 and stumbled on
a strange warning.

I have the similar code snippet in my view as explained in:
https://docs.djangoproject.com/en/1.9/intro/tutorial03/#write-views-that-actually-do-something
{{{#!py
...
template = loader.get_template('polls/index.html')
context = RequestContext(request, { })
return HttpResponse(template.render(context))
}}}

Now I get the warning:
{{{
RemovedInDjango110Warning: render() must be called with a dict, not a RequestContext.
}}}

I am not sure how to work around this problem.

Is it forbidden to use RequestContext in template.render(..)
if yes, howto must I transform RequestContext in a dict.

In this case the documentation should be actualized.

By the way: can I download the tutorial poll application project somewhere?"	Bug	closed	Documentation	1.8	Normal	fixed			Accepted	1	0	0	0	0	0
