Branch: refs/heads/master
Home:
https://github.com/django/django
Commit: 2f0566fa61e13277364e3aef338fa5c143f5a704
https://github.com/django/django/commit/2f0566fa61e13277364e3aef338fa5c143f5a704
Author: Berker Peksag <
berker...@gmail.com>
Date: 2013-09-18 (Wed, 18 Sep 2013)
Changed paths:
M django/template/loader.py
M docs/ref/templates/api.txt
M docs/releases/1.7.txt
M docs/topics/http/shortcuts.txt
A tests/template_tests/other_templates/test_dirs.html
M tests/template_tests/test_loaders.py
M tests/view_tests/generic_urls.py
A tests/view_tests/other_templates/render_dirs_test.html
M tests/view_tests/tests/test_shortcuts.py
M tests/view_tests/views.py
Log Message:
-----------
Fixed #4278 -- Added a dirs parameter to a few functions to override TEMPLATE_DIRS.
* django.template.loader.get_template()
* django.template.loader.select_template()
* django.shortcuts.render()
* django.shortcuts.render_to_response()
Thanks amcnabb for the suggestion.