Backport of 0ed7d15563 from master
0ed7d15563
This is for consistency with Template.render. It adds a little bit of knowledge about HTTP requests in django.template.loader but I think consistency trumps purity.
Deprecated features aren't tested.