﻿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
15849	{% ifchanged %} not thread-safe	Antti Kaihola	Bas Peschier	"We're doing the wrong thing and running a Django site with [http://www.modpython.org/ mod_python] on Apache's [http://httpd.apache.org/docs/2.2/mod/worker.html worker MPM]. It turns out that [http://docs.djangoproject.com/en/dev/ref/templates/builtins/#ifchanged {% ifchanged %}] fails to group items correctly when there are concurrent requests.

In the implementation of [http://docs.djangoproject.com/en/dev/ref/templates/builtins/#ifchanged {% ifchanged %}] in Django 1.0 through current post-1.3 trunk [16044], an `IfChangedNode` instance stores state in `self._last_seen`. It should use `context.render_context` instead (e.g. `CycleNode` does this)."	Bug	closed	Template system	dev	Normal	fixed	sprint2013		Ready for checkin	1	0	0	1	0	0
