﻿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
26109	loader.select_template() raises a confusing message if passed a string containing a period	Ahmed Mohamed	nobody	"Currently supplying a string to `select_template` raise an `IOError`, which is not meaningful. Here's a sample.

IOError at XXX
[Errno 21] Is a directory: u'xxx/site-packages/django/contrib/admin/templates'

It's better to check if `template_name_list` is actually a list (`Iterable`). If it is a string, we can either

 - Raise a TypeError and suggest to use `get_template` function instead.
 - Pass the string to `get_template` silently.

I am creating a pull request going with the first option. Happy to change it if necessary.
"	Cleanup/optimization	closed	Template system	1.9	Normal	fixed	template loader		Accepted	1	0	0	0	0	0
