Mariusz Felisiak
463fe11bc8
Fixed relative paths imports per isort 4.3.5.
2019-02-25 11:03:30 +01:00
Mads Jensen
4554f9a783
Increased test coverage for various template tags.
2018-03-24 19:56:46 -04:00
Tim Graham
e62165b898
Refs #27175 -- Removed exception silencing from the {% include %} template tag.
...
Per deprecation timeline.
2017-09-22 12:51:18 -04:00
Jon Dufresne
2c69824e5a
Refs #23968 -- Removed unnecessary lists, generators, and tuple calls.
2017-06-01 19:08:59 -04:00
kapil garg
002fe07622
Fixed #27974 -- Kept resolved templates constant during one rendering cycle.
...
Thanks Florian Apolloner for the initial patch.
2017-04-03 22:29:39 -04:00
Tim Graham
fe2d288434
Fixed #27722 -- Reallowed using django.Template in {% include %}.
2017-02-11 06:51:57 -05:00
Tim Graham
5d8da093a9
Refs #15053 -- Removed support for non-recursive template loading.
...
Per deprecation timeline.
2017-01-17 20:52:00 -05:00
za
321e94fa41
Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings.
2016-11-10 21:30:21 -05:00
Jon Dufresne
331ca5391e
Fixed #27175 -- Deprecated silencing exceptions from the {% include %} template tag.
...
Thanks Tim Graham for the review.
2016-09-08 18:24:22 -07:00
Preston Timmons
655f524915
Fixed #17085 , #24783 -- Refactored template library registration.
...
* Converted the ``libraries`` and ``builtins`` globals of
``django.template.base`` into properties of the Engine class.
* Added a public API for explicit registration of libraries and builtins.
2015-05-21 09:12:06 -05:00
Preston Timmons
fb267a1d85
Updated template tests to create their own engine.
...
This continues work to treat Django templates as a library.
2015-04-20 09:11:37 -05:00
Preston Timmons
06ffc764a9
Moved include tests into syntax_tests/test_include.py.
2015-02-24 14:00:02 +01:00
Tim Graham
0ed7d15563
Sorted imports with isort; refs #23860 .
2015-02-06 08:16:28 -05:00
Aymeric Augustin
92a2d049a2
Isolated template tests from Django settings.
2014-12-28 16:23:01 +01:00
Preston Timmons
5c68870169
Fixed #23958 -- Rewrote filter tests as unit tests.
2014-12-06 10:57:46 -05:00
Ramiro Morales
16f26defa7
Converted recently refactored templates tests to SimpleTestCase.
...
These test methods don't need DB setup/teardown.
Refs #23768 and b872134b
.
2014-12-03 18:56:46 -05:00
Preston Timmons
b872134bfc
Fixed #23768 -- Rewrote template tests as unit tests.
2014-12-02 19:18:35 -05:00