﻿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
13124	function 'find_template_loader' doesn't work with PyPy 1.2	avostryakov	nobody	"I tested django template system under PyPy 1.2. Basically it works except one small line of code in function 'find_template_loader; (<root project's directory>/django/template/loader.py):

'if hasattr(loader, '__iter__'):'

I suggest to replace this line with:

'if isinstance(loader, tuple):'

The patch is attached. I think it'll be better because a new code doesn't use a little tricky feature of python. Class 'string' doesn't have '__iter__' attribute but can be iterated.
"		closed	Template system	1.2-beta		fixed	find template, pypy		Accepted	1	0	0	1	0	0
