summaryrefslogtreecommitdiff
path: root/tests/template_tests/syntax_tests
AgeCommit message (Collapse)Author
2020-09-29Fixed #18995 -- Made blocktranslate tag raise TemplateSyntaxError when ↵Jacob Walls
plural count is not a number.
2020-05-14Completed lorem tag test coverage.David Smith
2020-05-11Fixed #25236 -- Deprecated {% ifequal %} and {% ifnotequal %} template tags.Jon Dufresne
The {% if %} tag provides all features of these tags. Since Django 1.2 (May 17, 2010), the docs have hinted that {% ifequal %} and {% ifnotequal %} will be deprecated in a future Django version. Time to make it official.
2020-04-20Capitalized Unicode in docs, strings, and comments.Jon Dufresne
2020-02-18Fixed #20995 -- Added support for iterables of template names to {% include ↵Keshav Kumar
%} template tag. Thanks Adam Johnson for the review.
2020-02-07Used assertRaisesMessage() in various tests.Hasan Ramezani
2019-12-18Refs #30585 -- Updated project templates and tests to use (block)translate tags.Mike Hansen
2019-12-18Fixed #30585 -- Added {% translate %} and {% blocktranslate %} template tags.Mike Hansen
2019-09-24Removed some outdated backwards compatibility imports and misleading comments.Mads Jensen
EmptyResultSet moved in 46509cf13dbf049f75077981c29ef2c60b5a96ab. FieldDoesNotExist moved in 8958170755b37ce346ae5257c1000bd936faa3b0. BoundField and pretty_name moved in 8550161e531a603d57723850fb09c4c9b7ca60b9. EMPTY_VALUES moved in 471596fc1afcb9c6258d317c619eaf5fd394e797. BaseRunserverCommand moved in 5c53e30607014163872e89c221b206992a9acfef.
2019-06-20Fixed #30451 -- Added ASGI handler and coroutine-safety.Andrew Godwin
This adds an ASGI handler, asgi.py file for the default project layout, a few async utilities and adds async-safety to many parts of Django.
2019-04-25Fixed #30399 -- Changed django.utils.html.escape()/urlize() to use ↵Jon Dufresne
html.escape()/unescape().
2019-03-03Reverted "Fixed relative paths imports per isort 4.3.5."Mariusz Felisiak
This reverts commit 463fe11bc8b2d068e447c5df677e7a31c2af7e03 due to restore of relative paths sorting from isort < 4.3.5 in isort 4.3.10.
2019-02-25Fixed relative paths imports per isort 4.3.5.Mariusz Felisiak
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