Tiny logic tightening in core.template.loader -- taken from new-admin
Tiny logic tightening in core.template.loader -- taken from new-admin

--HG--
extra : convert_revision : svn%3Abcc190cf-cafb-0310-a4f2-bffc1f526a37/django/trunk%401347

adieu/django-nonrel,adieu/django-nonrel,adieu/django-nonrel