| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2020-05-11 | Fixed #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-05-11 | Switched unittest.TestCase to SimpleTestCase in template_tests/test_nodelist.py. | Jon Dufresne | |
| 2020-05-04 | Changed `'%s' % value` pattern to `str(value)`. | Nick Pope | |
| 2020-04-20 | Capitalized Unicode in docs, strings, and comments. | Jon Dufresne | |
| 2020-02-18 | Refs #26601 -- Deprecated passing None as get_response arg to middleware ↵ | Claude Paroz | |
| classes. This is the new contract since middleware refactoring in Django 1.10. Co-authored-by: Carlton Gibson <carlton.gibson@noumenal.es> Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com> | |||
| 2020-02-18 | Fixed #20995 -- Added support for iterables of template names to {% include ↵ | Keshav Kumar | |
| %} template tag. Thanks Adam Johnson for the review. | |||
| 2020-02-07 | Used assertRaisesMessage() in various tests. | Hasan Ramezani | |
| 2020-01-02 | Fixed #31128 -- Fixed TemplateSyntaxError in simple_tag() and ↵ | Patrick Seebauer | |
| inclusion_tag() for kwargs. | |||
| 2019-12-18 | Refs #30585 -- Updated project templates and tests to use (block)translate tags. | Mike Hansen | |
| 2019-12-18 | Fixed #30585 -- Added {% translate %} and {% blocktranslate %} template tags. | Mike Hansen | |
| 2019-11-19 | Removed unnecessary numeric indexes in format strings. | Jon Dufresne | |
| 2019-11-06 | Harmonized Windows checks in tests to a single style. | Jon Dufresne | |
| 2019-10-31 | Fixed #30761 -- Prevented floatformat filter from returning a negative zero. | Sky | |
| 2019-10-31 | Added more tests for floatformat filter with negative values. | Sky | |
| 2019-10-29 | Used more specific unittest assertions in tests. | Nick Pope | |
| * assertIsNone()/assertIsNotNone() instead of comparing to None. * assertLess() for < comparisons. * assertIs() for 'is' expressions. * assertIsInstance() for isinstance() expressions. * rounding of assertAlmostEqual() for round() expressions. * assertIs(..., True/False) instead of comparing to True/False. * assertIs()/assertIsNot() for ==/!= comparisons. * assertNotEqual() for == comparisons. * assertTrue()/assertFalse() instead of comparing to True/False. | |||
| 2019-10-01 | Fixed #30651 -- Made __eq__() methods return NotImplemented for not ↵ | ElizabethU | |
| implemented comparisons. Changed __eq__ to return NotImplemented instead of False if compared to an object of the same type, as is recommended by the Python data model reference. Now these models can be compared to ANY (or other objects with __eq__ overwritten) without returning False automatically. | |||
| 2019-09-24 | Removed 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-08-01 | Fixed CVE-2019-14232 -- Adjusted regex to avoid backtracking issues when ↵ | Florian Apolloner | |
| truncating HTML. Thanks to Guido Vranken for initial report. | |||
| 2019-06-20 | Fixed #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-06-11 | Refs #27486 -- Added tests for filesizeformat filter. | Jon Dufresne | |
| 2019-06-10 | Refs #27804 -- Used subTest() in filesizeformat tests and HumanizeTests. | Jon Dufresne | |
| 2019-05-17 | Fixed #30453 -- Fixed crash of simple_tag() and inclusion_tag() when ↵ | Batuhan Taşkaya | |
| function is wrapped. getfullargspec() doesn't work with wrapped functions. | |||
| 2019-05-03 | Fixed #20122 -- Made pluralize template filter return '' on invalid input. | Tobias Kunze | |
| 2019-04-25 | Fixed #30399 -- Changed django.utils.html.escape()/urlize() to use ↵ | Jon Dufresne | |
| html.escape()/unescape(). | |||
| 2019-03-25 | Fixed #29791 -- Made Engine.render_to_string() honor autoescape. | Nathan Gaberel | |
| 2019-03-03 | Reverted "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-25 | Fixed relative paths imports per isort 4.3.5. | Mariusz Felisiak | |
| 2019-02-21 | Fixed typos in tests/template_tests/test_context.py. | Tim Graham | |
| 2019-02-09 | Removed uneeded generator expressions and list comprehensions. | Sergey Fedoseev | |
| 2019-02-09 | Removed uneeded iter() calls with generator expression as argument. | Sergey Fedoseev | |
| 2019-01-29 | Refs #30137 -- Fixed template test on Windows. | Tim Graham | |
| Broken in 7785e03ba89aafbd949191f126361fb9103cb980. | |||
| 2019-01-28 | Fixed #30137 -- Replaced OSError aliases with the canonical OSError. | Jon Dufresne | |
| Used more specific errors (e.g. FileExistsError) as appropriate. | |||
| 2018-12-31 | Updated test URL patterns to use path() and re_path(). | Tim Graham | |
| 2018-11-27 | Made reused RequestFactory instances class attributes. | Simon Charette | |
| 2018-11-26 | Used SimpleTestCase for template library tests. | Simon Charette | |
| 2018-10-12 | Added a urlize test for wrapping characters. | Tim Graham | |
| 2018-09-28 | Refs #28909 -- Simplifed code using unpacking generalizations. | Sergey Fedoseev | |
| 2018-09-25 | Refs #27795 -- Removed force_bytes() usage in utils/_os.py. | Jon Dufresne | |
| 2018-08-21 | Fixed #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-01 | Fixed typos in comments and docs. | luz.paz | |
| 2018-07-31 | Fixed #29617 -- Fixed Template crash if template_string is lazy. | Dražen Odobašić | |
| Regression in 3a148f958dddd97c1379081118c30fbede6b6bc4. | |||
| 2018-07-27 | Moved yesno filter test to its file. | Hasan Ramezani | |
| 2018-05-26 | Fixed #29432 -- Allowed passing an integer to the slice template filter. | ryabtsev | |
| 2018-05-25 | Fixed #29400 -- Fixed crash in custom template filters that use decorated ↵ | Ryan Rubin | |
| functions. Regression in 620e9dd31a2146d70de740f96a8cb9a6db054fc7. | |||
| 2018-05-10 | Replaced TOKEN_* constants by TokenType enums. | Claude Paroz | |
| Thanks Tim Graham for the review. | |||
| 2018-05-07 | Captured logging in tests with self.assertLogs(). | Claude Paroz | |
| 2018-04-18 | Refs #23890 -- Removed numpy deprecation warning silencing. | Tim Graham | |
| Obsolete since numpy 1.12.0. | |||
| 2018-04-04 | Fixed #29288 -- Made {% widthratio %} assign to as var if an exception occurs. | Jirka Vejrazka | |
| 2018-03-26 | Increased test coverage for {% get_admin_log %} and {% static %}. | Hasan Ramezani | |
| 2018-03-24 | Increased test coverage for various template tags. | Mads Jensen | |
