summaryrefslogtreecommitdiff
path: root/tests/template_tests/syntax_tests
AgeCommit message (Collapse)Author
2018-11-27Made reused RequestFactory instances class attributes.Simon Charette
2018-08-21Fixed #29654 -- Made text truncation an ellipsis character instead of three ↵Claude Paroz
dots. Thanks Sudhanshu Mishra for the initial patch and Tim Graham for the review.
2018-08-01Fixed typos in comments and docs.luz.paz
2018-07-27Moved yesno filter test to its file.Hasan Ramezani
2018-04-18Refs #23890 -- Removed numpy deprecation warning silencing.Tim Graham
Obsolete since numpy 1.12.0.
2018-04-04Fixed #29288 -- Made {% widthratio %} assign to as var if an exception occurs.Jirka Vejrazka
2018-03-26Increased test coverage for {% get_admin_log %} and {% static %}.Hasan Ramezani
2018-03-24Increased test coverage for various template tags.Mads Jensen
2018-03-21Increased test coverage for i18n template tags.Mads Jensen
2018-02-01Fixed imports per isort 4.3.0.Mariusz Felisiak
2018-01-25Fixed #29060 -- Made {% firstof %} assign '' to the asvar if all inputs are ↵Roger Gammans
false.
2017-10-05Added tests for invalid {% for %} usage and ForLoop.__repr__().Mads Jensen
2017-10-02Added tests for invalid {% autoescape %} usage.Mads Jensen
2017-09-22Refs #27175 -- Removed exception silencing from the {% include %} template tag.Tim Graham
Per deprecation timeline.
2017-07-29Used assertRaisesMessage() to test Django's error messages.Mads Jensen
2017-06-01Refs #23968 -- Removed unnecessary lists, generators, and tuple calls.Jon Dufresne
2017-04-06Fixed #28001 -- Updated comment and tested context popping in ForNode.render().kapil garg
2017-04-03Fixed #27974 -- Kept resolved templates constant during one rendering cycle.kapil garg
Thanks Florian Apolloner for the initial patch.
2017-03-15Fixed #27882 -- Allowed {% cache %} to cache indefinitely.Bo Marchman
2017-02-11Fixed #27722 -- Reallowed using django.Template in {% include %}.Tim Graham
2017-02-07Refs #27795 -- Removed force_text from the template layerClaude Paroz
Thanks Tim Graham for the review.
2017-02-04Added tests for various __repr__() methods.Mads Jensen
2017-02-03Fixed spelling of "nonexistent".Tim Graham
2017-01-26Refs #23919, #27778 -- Removed obsolete mentions of unicode.Vytis Banaitis
2017-01-25Refs #23919 -- Replaced super(ClassName, self) with super().chillaranand
2017-01-20Refs #23919 -- Removed django.utils._os.upath()/npath()/abspathu() usage.Tim Graham
These functions do nothing on Python 3.
2017-01-18Refs #23919 -- Removed most of remaining six usageClaude Paroz
Thanks Tim Graham for the review.
2017-01-18Refs #23919 -- Removed six.PY2/PY3 usageClaude Paroz
Thanks Tim Graham for the review.
2017-01-18Refs #23919 -- Removed encoding preambles and future importsClaude Paroz
2017-01-17Refs #15053 -- Removed support for non-recursive template loading.Tim Graham
Per deprecation timeline.
2017-01-06Fixed #24423 -- Reorganized i18n tag tests.Andy Craze
2016-12-30Fixed #26478 -- Made {% for %} reject invalid unpacking vars with quotes or ↵Tim Martin
vertical bars.
2016-12-30Used assertRaisesMessage() in {% for %} tests.Tim Graham
2016-12-19Refs #25484 -- Made non-staticfiles {% static %} tag quote its output.Tim Graham
2016-12-19Refs #21221 -- Prevented {% static %} tests from using contrib.staticfiles.Tim Graham
2016-12-17Fixed #25484 -- Made {% static %} render escaped URLs.alix-
2016-11-10Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings.za
2016-09-17Refs #27025 -- Fixed "invalid escape sequence" warnings in Python 3.6.Tim Graham
http://bugs.python.org/issue27364
2016-09-08Fixed #27175 -- Deprecated silencing exceptions from the {% include %} ↵Jon Dufresne
template tag. Thanks Tim Graham for the review.
2016-09-01Fixed #5908 -- Added {% resetcycle %} template tag.Sergei Maertens
Thanks to Simon Litchfield for the report, Uninen for the initial patch, akaihola, jamesp, b.schube, and Florian Appoloner for subsequent patches, tests, and documentation.
2016-08-31Fixed #27140 -- Prevented template rendering from hiding a property's TypeError.Tim Graham
2016-08-26Fixed #27126 -- Made {% regroup %} return a namedtuple to ease unpacking.Baptiste Mispelon
2016-08-15Fixed #27058 -- Reallowed the {% for %} tag to unpack any iterable.Tim Graham
Thanks Sergei Maertens for the report and patch.
2016-08-09Fixed #26830 -- Prevented the 'with' templatetag from resetting the cycle ↵Alexander Schrijver
variable to its initial state.
2016-08-09Refs #26830 -- Added a test for a named cycle template tag inside an ↵Alexander Schrijver
ifchanged block and a for loop.
2016-07-21Fixed #26923 -- Fixed template_tests with numpy < 1.9.0.Raphaël Hertzog
2016-07-09Fixed numpy deprecation warning silencing in template_tests.Baptiste Mispelon
2016-05-27Fixed #26573 -- Added descriptive error message for malformed if/else/elif ↵inondle
template tags.
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