summaryrefslogtreecommitdiff
path: root/tests/template_tests
AgeCommit message (Expand)Author
2020-05-11Fixed #25236 -- Deprecated {% ifequal %} and {% ifnotequal %} template tags.Jon Dufresne
2020-05-11Switched unittest.TestCase to SimpleTestCase in template_tests/test_nodelist.py.Jon Dufresne
2020-05-04Changed `'%s' % value` pattern to `str(value)`.Nick Pope
2020-04-20Capitalized Unicode in docs, strings, and comments.Jon Dufresne
2020-02-18Refs #26601 -- Deprecated passing None as get_response arg to middleware clas...Claude Paroz
2020-02-18Fixed #20995 -- Added support for iterables of template names to {% include %...Keshav Kumar
2020-02-07Used assertRaisesMessage() in various tests.Hasan Ramezani
2020-01-02Fixed #31128 -- Fixed TemplateSyntaxError in simple_tag() and inclusion_tag()...Patrick Seebauer
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-11-19Removed unnecessary numeric indexes in format strings.Jon Dufresne
2019-11-06Harmonized Windows checks in tests to a single style.Jon Dufresne
2019-10-31Fixed #30761 -- Prevented floatformat filter from returning a negative zero.Sky
2019-10-31Added more tests for floatformat filter with negative values.Sky
2019-10-29Used more specific unittest assertions in tests.Nick Pope
2019-10-01Fixed #30651 -- Made __eq__() methods return NotImplemented for not implement...ElizabethU
2019-09-24Removed some outdated backwards compatibility imports and misleading comments.Mads Jensen
2019-08-01Fixed CVE-2019-14232 -- Adjusted regex to avoid backtracking issues when trun...Florian Apolloner
2019-06-20Fixed #30451 -- Added ASGI handler and coroutine-safety.Andrew Godwin
2019-06-11Refs #27486 -- Added tests for filesizeformat filter.Jon Dufresne
2019-06-10Refs #27804 -- Used subTest() in filesizeformat tests and HumanizeTests.Jon Dufresne
2019-05-17Fixed #30453 -- Fixed crash of simple_tag() and inclusion_tag() when function...Batuhan Taşkaya
2019-05-03Fixed #20122 -- Made pluralize template filter return '' on invalid input.Tobias Kunze
2019-04-25Fixed #30399 -- Changed django.utils.html.escape()/urlize() to use html.escap...Jon Dufresne
2019-03-25Fixed #29791 -- Made Engine.render_to_string() honor autoescape.Nathan Gaberel
2019-03-03Reverted "Fixed relative paths imports per isort 4.3.5."Mariusz Felisiak
2019-02-25Fixed relative paths imports per isort 4.3.5.Mariusz Felisiak
2019-02-21Fixed typos in tests/template_tests/test_context.py.Tim Graham
2019-02-09Removed uneeded generator expressions and list comprehensions.Sergey Fedoseev
2019-02-09Removed uneeded iter() calls with generator expression as argument.Sergey Fedoseev
2019-01-29Refs #30137 -- Fixed template test on Windows.Tim Graham
2019-01-28Fixed #30137 -- Replaced OSError aliases with the canonical OSError.Jon Dufresne
2018-12-31Updated test URL patterns to use path() and re_path().Tim Graham
2018-11-27Made reused RequestFactory instances class attributes.Simon Charette
2018-11-26Used SimpleTestCase for template library tests.Simon Charette
2018-10-12Added a urlize test for wrapping characters.Tim Graham
2018-09-28Refs #28909 -- Simplifed code using unpacking generalizations.Sergey Fedoseev
2018-09-25Refs #27795 -- Removed force_bytes() usage in utils/_os.py.Jon Dufresne
2018-08-21Fixed #29654 -- Made text truncation an ellipsis character instead of three d...Claude Paroz
2018-08-01Fixed typos in comments and docs.luz.paz
2018-07-31Fixed #29617 -- Fixed Template crash if template_string is lazy.Dražen Odobašić
2018-07-27Moved yesno filter test to its file.Hasan Ramezani
2018-05-26Fixed #29432 -- Allowed passing an integer to the slice template filter.ryabtsev
2018-05-25Fixed #29400 -- Fixed crash in custom template filters that use decorated fun...Ryan Rubin
2018-05-10Replaced TOKEN_* constants by TokenType enums.Claude Paroz
2018-05-07Captured logging in tests with self.assertLogs().Claude Paroz
2018-04-18Refs #23890 -- Removed numpy deprecation warning silencing.Tim Graham
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