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:
committed by
Tim Graham
parent
e1266e50b2
commit
8625c7aab3
@@ -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
|
||||
=====================================
|
||||
|
||||
|
||||
Reference in New Issue
Block a user