1
0
mirror of https://github.com/django/django.git synced 2025-11-07 07:15:35 +00:00

Fixed #16096 -- Added origin attribute to template instances.

Thanks jdunck for the suggestion.
This commit is contained in:
Preston Timmons
2013-08-30 14:08:40 -05:00
committed by Tim Graham
parent e1266e50b2
commit 8625c7aab3
4 changed files with 54 additions and 1 deletions

View File

@@ -272,6 +272,10 @@ Templates
* It is now possible to :ttag:`include` templates recursively.
* Template objects now have an origin attribute set when
:setting:`TEMPLATE_DEBUG` is ``True``. This allows template origins to be
inspected and logged outside of the ``django.template`` infrastructure.
Backwards incompatible changes in 1.7
=====================================