Branch: refs/heads/master
Home: https://github.com/django/django
Commit: 2f0566fa61e13277364e3aef338fa5c143f5a704
https://github.com/django/django/commit/2f0566fa61e13277364e3aef338fa5c143f5a704
Author: Berker Peksag <[email protected]>
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.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/5239914f9217f_23451099d58738b9%40hookshot-fe1-pe1-prd.aws.github.net.mail.
For more options, visit https://groups.google.com/groups/opt_out.