﻿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
4540	Template.render() should verify context instance	cephelo@…	munhitsu	"Currently, Template.render() doesn't assert that ""context"" really is a Context object. This leads to all sorts of fun problems when debugging code that happens to be sending a dict() instead of Context(). While most tags work fine with a dict instead, there are a few that don't, notably {% for %} and {% filter %} (possibly a few others). While I'm not a huge fan of forcing data types, you get really wonky error messages.

The change itself is trivial, but I'm not sure how to handle a regression test for this, as the tests currently force-cast the dicts into Contexts."	Cleanup/optimization	closed	Template system	dev	Normal	wontfix		tom@… mateusz@…	Accepted	1	0	0	1	0	0
