summaryrefslogtreecommitdiff
path: root/tests/template_tests
AgeCommit message (Collapse)Author
2016-07-21[1.10.x] Fixed #26923 -- Fixed template_tests with numpy < 1.9.0.Raphaël Hertzog
Backport of 8e5cbc884f77c85b0edbc6206810643abaf589c9 from master
2016-07-09[1.10.x] Fixed numpy deprecation warning silencing in template_tests.Baptiste Mispelon
Backport of 418658f453bed7fe7949dda26651aab370003e6a from master
2016-06-16[1.10.x] Fixed #26747 -- Used more specific assertions in the Django test suite.Jon Dufresne
Backport of 4f336f66523001b009ab038b10848508fd208b3b from master
2016-05-17Refs #26601 -- Deprecated old-style middleware.Tim Graham
2016-05-17Fixed #26601 -- Improved middleware per DEP 0005.Florian Apolloner
Thanks Tim Graham for polishing the patch, updating the tests, and writing documentation. Thanks Carl Meyer for shepherding the DEP.
2016-05-11Refs #24046 -- Fixed a template test when run in reverse.Tim Graham
2016-05-10Fixed #24046 -- Deprecated the "escape" half of utils.safestring.Tim Graham
2016-05-10Fixed #26603 -- Forced lazy template names to text when computing cache key.Simon Charette
Refs #26536. Thanks Sylvain Fankhauser for the very detailed report.
2016-05-07Fixed #26402 -- Added relative path support in include/extends template tags.Vitaly Bogomolov
2016-04-29Refs #26479 -- Documented is/is not if tag operator behavior for nonexistent ↵Alasdair Nicol
variables.
2016-04-29Added tests for if tag's != operator.Alasdair Nicol
2016-04-24Fixed #26536 -- Preserved leading dashes of the cached template loader keys.Simon Charette
Thanks Anders Roos for the report.
2016-04-09Fixed #26479 -- Added 'is not' operator to the if tag.Alasdair Nicol
2016-04-09Fixed #26403 -- Removed translated content in "Invalid block tag" message.amureki
2016-04-08Fixed E128 flake8 warnings in tests/.Tim Graham
2016-03-16Fixed #26306 -- Fixed memory leak in cached template loader.Alex Hill
2016-02-26Fixed #26280 -- Fixed cached template loader crash when loading nonexistent ↵Ivan Tsouvarev
template.
2016-02-23Fixed #25670 -- Allowed dictsort to sort a list of lists.Andrew Kuchev
Thanks Tim Graham for the review.
2016-02-23Fixed #26263 -- Deprecated Context.has_key()Tim Graham
2016-02-15Fixed #26193 -- Made urlize() trim multiple trailing punctuation.Jon Dufresne
2016-02-05Fixed #26176 -- Fixed E123 flake8 warnings.Tim Graham
2016-01-30Fixed #25758 -- Defaulted to current language FORMATs in date/time filtersClaude Paroz
Thanks Ali Lozano for the report and the initial patch, and Tim Graham for the review.
2016-01-29Refs #26022 -- Used context manager version of assertRaises in tests.Hasan
2016-01-26Fixed #25848 -- Set template origin on each node.Preston Timmons
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-22Fixed #26118 -- Added 'is' operator to if template tag.Preston Timmons
2015-12-31Fixed #26013 -- Moved django.core.urlresolvers to django.urls.Marten Kenbeek
Thanks to Tim Graham for the review.
2015-12-12Fixed #20223 -- Added keep_lazy() as a replacement for allow_lazy().Iacopo Spalletti
Thanks to bmispelon and uruz for the initial patch.
2015-12-03Fixed #25825 -- Implemented __ne__() for template OriginJaap Roes
2015-12-03Fixed many spelling mistakes in code, comments, and docs.Josh Soref
2015-11-21Fixed #25780 -- Removed redundant status code assertions from testsAlex Morozov
2015-11-17Removed obsolete comments about Django 1.10 in two test files.Tim Graham
2015-10-27Fixed #25441 -- Added support for negative filesize to filesizeformat ↵Sambhav Satija
template filter. Thanks Andrey Yakovlev for the initial patch.
2015-10-26Fixed #25610 -- Reverted removal of request.current_app in {% url %} tag.Marten Kenbeek
The deprecation removal in 5e450c52aafb62b9d83c8ac08892e0b92cbec4aa removed too much.
2015-10-05Fixed #25423 -- Made error message for unknown template tag more helpful.Pindi Albert
2015-09-23Refs #23913 -- Removed support for a single equals sign in {% if %} tag.Tim Graham
Per deprecation timeline.
2015-09-23Made template response APIs enforce the use of dict and backend-specific ↵Tim Graham
template objects. Per deprecation timeline; refs 79deb6a0716e554cac5308e86f5754f19ad436dc.
2015-09-23Removed support for passing a context to a generic Template.render().Tim Graham
Per deprecation timeline; refs a3e783fe11dd25bbf84bfb6201186566ed473506.
2015-09-23Removed dictionary and context_instance parameters for render functions.Tim Graham
Per deprecation timeline.
2015-09-23Removed dirs parameter in template engine methods and related funtions.Tim Graham
Per deprecation timeline.
2015-09-23Removed current_app argument to render() and TemplateResponse().Tim Graham
Per deprecation timeline.
2015-09-23Refs #13408 -- Made unpacking mismatch an exception in {% for %} tag per ↵Tim Graham
deprecation timeline.
2015-09-23Refs #23269 -- Removed the removetags template tag and related functions per ↵Tim Graham
deprecation timeline.
2015-09-23Refs #22384 -- Removed the ability to reverse URLs by dotted path per ↵Tim Graham
deprecation timeline.
2015-09-23Refs #23261 -- Removed old style list syntax for unordered_list filterTim Graham
Per deprecation timeline.
2015-09-23Refs #24451 -- Removed comma-separated {% cycle %} syntax per deprecation ↵Tim Graham
timeline.
2015-09-23Refs #24022 -- Removed the ssi tag per deprecation timeline.Tim Graham
2015-09-23Refs #22306 -- Removed cycle/firstof template tags from "future".Tim Graham
Per deprecation timeline.
2015-09-21Fixed #25373 -- Added warning logging for exceptions during {% include %} ↵Nick Johnson
tag rendering.
2015-09-21Refs #18773 -- Improved template variable exception logging message.Nick Johnson
2015-09-18Refs #25422 -- Added a test for a template tag with type annotations.Thomas Orozco
This doesn't work in Django 1.8 but was fixed in Django 1.9 as a side effect of another change.