django/tests/template_tests
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
..
eggs Renamed some tests and removed references to modeltests/regressiontests. 2013-02-26 14:36:57 +01:00
filter_tests Fixed #20223 -- Added keep_lazy() as a replacement for allow_lazy(). 2015-12-12 14:46:48 -05:00
jinja2/template_tests Fixed #24168 -- Allowed selecting a template engine in a few APIs. 2015-02-03 08:29:45 +01:00
other_templates Cleaned up template loader tests. 2015-02-24 14:00:02 +01:00
recursive_templates Fixed #15053 -- Enabled recursive template loading. 2015-04-22 14:49:00 -05:00
syntax_tests Fixed #26118 -- Added 'is' operator to if template tag. 2016-01-22 15:35:28 -05:00
templates Removed current_app argument to render() and TemplateResponse(). 2015-09-23 19:31:10 -04:00
templatetags Removed current_app argument to render() and TemplateResponse(). 2015-09-23 19:31:10 -04:00
__init__.py Renamed some tests and removed references to modeltests/regressiontests. 2013-02-26 14:36:57 +01:00
alternate_urls.py Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
annotated_tag_function.py Refs #25422 -- Added a test for a template tag with type annotations. 2015-09-18 08:10:38 -04:00
broken_tag.py Fixed #17085, #24783 -- Refactored template library registration. 2015-05-21 09:12:06 -05:00
test_callables.py Updated template tests to create their own engine. 2015-04-20 09:11:37 -05:00
test_context.py Fixed #24765 -- Allowed template context updates to flatten a Context. 2015-09-11 14:52:13 -04:00
test_custom.py Removed current_app argument to render() and TemplateResponse(). 2015-09-23 19:31:10 -04:00
test_engine.py Removed dictionary and context_instance parameters for render functions. 2015-09-23 19:31:11 -04:00
test_extends.py Fixed #23395 -- Limited line lengths to 119 characters. 2015-09-12 11:40:50 -04:00
test_library.py Fixed #17085, #24783 -- Refactored template library registration. 2015-05-21 09:12:06 -05:00
test_loaders.py Fixed #25120 -- Deprecated egg template loader. 2015-07-16 09:32:42 -04:00
test_logging.py Fixed #25373 -- Added warning logging for exceptions during {% include %} tag rendering. 2015-09-21 19:57:12 -04:00
test_nodelist.py Fixed #23395 -- Limited line lengths to 119 characters. 2015-09-12 11:40:50 -04:00
test_origin.py Fixed #25825 -- Implemented __ne__() for template Origin 2015-12-03 15:59:34 -05:00
test_parser.py Fixed #17085, #24783 -- Refactored template library registration. 2015-05-21 09:12:06 -05:00
test_response.py Fixed many spelling mistakes in code, comments, and docs. 2015-12-03 12:48:24 -05:00
test_smartif.py Fixing E302 Errors 2013-11-02 23:48:47 -05:00
test_unicode.py Updated template tests to create their own engine. 2015-04-20 09:11:37 -05:00
tests.py Fixed #25848 -- Set template origin on each node. 2016-01-26 06:23:27 -05:00
urls.py Refs #22384 -- Removed the ability to reverse URLs by dotted path per deprecation timeline. 2015-09-23 19:31:09 -04:00
utils.py Refs #24022 -- Removed the ssi tag per deprecation timeline. 2015-09-23 19:31:09 -04:00
views.py Fixing E302 Errors 2013-11-02 23:48:47 -05:00