django1/django/template
Preston Timmons cfda1fa3f8 Fixed #25848 -- Set template origin on each node.
Prior to 55f12f8709, the template origin was available on each node via
`self.token.source[0]`. This behavior was removed when debug handling was
simplified, but 3rd-party debugging tools still depend on its presence.
This updates the Parser to set origin on individual nodes. This enables the
source template to be determined even when template extending or including is
used.
2016-01-26 06:23:27 -05:00
..
backends Replaced dict.setdefault() usage to avoid unnecessary object instantiations. 2016-01-05 13:06:23 -05:00
loaders Fixed #25682 -- Removed bare except clauses. 2015-11-17 14:39:15 -05:00
__init__.py Fixed #25466 -- Added backwards compatibility aliases for LoaderOrigin and StringOrigin. 2015-09-29 18:31:11 -04:00
base.py Fixed #25848 -- Set template origin on each node. 2016-01-26 06:23:27 -05:00
context.py Fixed #25469 -- Added autoescape option to DjangoTemplates backend. 2015-11-12 19:14:23 -05:00
context_processors.py Simplified dict initialization in two places. 2015-11-07 21:46:46 +01:00
defaultfilters.py Fixed #26125 -- Fixed E731 flake warnings. 2016-01-25 14:23:43 -05:00
defaulttags.py Fixed #26013 -- Moved django.core.urlresolvers to django.urls. 2015-12-31 14:21:29 -05:00
engine.py Fixed #25469 -- Added autoescape option to DjangoTemplates backend. 2015-11-12 19:14:23 -05:00
exceptions.py Moved engine-related exceptions to django.template.exceptions. 2015-05-06 17:33:47 -05:00
library.py Fixed #25018 -- Changed simple_tag to apply conditional_escape() to its output. 2015-06-29 08:16:19 -04:00
loader.py Fixed #26109 -- Raised a helpful error if loader.select_tamplate() is passed a string. 2016-01-25 18:37:02 -05:00
loader_tags.py Renamed deprecated logger.warn to warning 2015-10-24 11:37:58 +02:00
response.py Made template response APIs enforce the use of dict and backend-specific template objects. 2015-09-23 19:31:11 -04:00
smartif.py Fixed #26118 -- Added 'is' operator to if template tag. 2016-01-22 15:35:28 -05:00
utils.py Removed deprecated TEMPLATE_* settings per deprecation timeline. 2015-09-23 19:31:11 -04:00