| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2021-01-27 | Fixed #32290 -- Fixed TemplateNotFound in {% include %} tag for relative ↵ | Hasan Ramezani | |
| path in variable. | |||
| 2021-01-14 | Refs #25236 -- Removed {% ifequal %} and {% ifnotequal %} template tags per ↵ | Mariusz Felisiak | |
| deprecation timeline. | |||
| 2020-12-28 | Fixed #27827 -- Used "raise from" when raising InvalidTemplateLibrary ↵ | Jacob Walls | |
| exceptions in get_package_libraries(). This change sets the __cause__ attribute to raised exceptions and makes small cleanups in error messages. | |||
| 2020-11-21 | Refs #15053 -- Clarified debug message when skipping templates to avoid ↵ | Daniel Hahler | |
| recursion. | |||
| 2020-11-05 | Fixed #25791 -- Implement autoreload behaviour for cached template loader. | Tom Forbes | |
| 2020-11-05 | Refs #25791 -- Added get_dirs() method to cached template loader. | Tom Forbes | |
| 2020-10-13 | Fixed #20601 -- Allowed forcing format with thousand separators in ↵ | Jacob Walls | |
| floatformat filter. Thanks Claude Paroz and Nick Pope for reviews. | |||
| 2020-10-07 | Fixed #32002 -- Added headers parameter to HttpResponse and subclasses. | Tom Carrick | |
| 2020-07-30 | Bumped minimum isort version to 5.1.0. | David Smith | |
| Fixed inner imports per isort 5. isort 5.0.0 to 5.1.0 was unstable. | |||
| 2020-05-11 | Refs #30116 -- Simplified regex match group access with Match.__getitem__(). | Jon Dufresne | |
| The method has been available since Python 3.6. The shorter syntax is also marginally faster. | |||
| 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-04 | Refs #30573 -- Rephrased "Of Course" and "Obvious(ly)" in documentation and ↵ | Adam Johnson | |
| comments. | |||
| 2020-03-17 | Fixed #31172 -- Added note to translators for yesno filter. | Hasan Ramezani | |
| 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-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-10 | Used Signature API instead of deprecated inspect.getcallargs(). | Baptiste Mispelon | |
| inspect.getcallargs() was deprecated in Python 3.5 and the Signature API (PEP 362) has better support for decorated functions (by default, it follows the __wrapped__ attribute set by functools.wraps for example). | |||
| 2019-12-10 | Used full module import for inspect in template/base.py. | Baptiste Mispelon | |
| 2019-11-27 | Fixed #30425 -- Handled jinja2.TemplateSyntaxError when rendering a template. | Hasan Ramezani | |
| Jinja raises jinja2.TemplateSyntaxError in render() not in get_template() when it's in an included template. | |||
| 2019-11-19 | Removed unnecessary numeric indexes in format strings. | Jon Dufresne | |
| 2019-11-07 | Refs #29983 -- Added support for using pathlib.Path in all settings. | Jon Dufresne | |
| 2019-10-31 | Fixed #30761 -- Prevented floatformat filter from returning a negative zero. | Sky | |
| 2019-10-29 | Fixed #30899 -- Lazily compiled import time regular expressions. | Hasan Ramezani | |
| 2019-10-09 | Improved performance of django.template.base.Parser. | Alex Gaynor | |
| pop(0), which is used to fetch each token, is O(n) in the length of the list. By reversing the list and operating off the end, we can perform next_token(), prepend_token(), and delete_first_token() in constant time. | |||
| 2019-10-02 | Fixed some typos in comments and docs. | Min ho Kim | |
| Thanks to Mads Jenson for review. | |||
| 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-09-10 | Refs #29817 -- Removed settings.FILE_CHARSET per deprecation timeline. | Mariusz Felisiak | |
| 2019-06-11 | Fixed #27486 -- Fixed Python 3.7 DeprecationWarning in intword and ↵ | Jon Dufresne | |
| filesizeformat filters. intword and filesizeformat passed floats to ngettext() which is deprecated in Python 3.7. The rationale for this warning is documented in BPO-28692: https://bugs.python.org/issue28692. For filesizeformat, the filesize value is expected to be an int -- it fills %d string formatting placeholders. It was likely coerced to a float to ensure floating point division on Python 2. Python 3 always does floating point division, so coerce to an int instead of a float to fix the warning. For intword, the number may contain a decimal component. In English, a decimal component makes the noun plural. A helper function, round_away_from_one(), was added to convert the float to an integer that is appropriate for ngettext(). | |||
| 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-07 | Removed unnecessary line in DebugLexer.tokenize(). | sanchjat | |
| 2019-05-03 | Fixed #20122 -- Made pluralize template filter return '' on invalid input. | Tobias Kunze | |
| 2019-05-03 | Refs #20122 -- Corrected documentation of pluralize template filter. | Tobias Kunze | |
| 2019-04-24 | Removed unnecessary assignments in various code. | Jon Dufresne | |
| 2019-03-25 | Fixed #29791 -- Made Engine.render_to_string() honor autoescape. | Nathan Gaberel | |
| 2019-02-06 | Refs #27753 -- Favored SafeString over SafeText. | Tim Graham | |
| 2019-02-06 | Fixed #30159 -- Removed unneeded use of OrderedDict. | Nick Pope | |
| Dicts preserve order since Python 3.6. | |||
| 2019-01-18 | Removed template_cache attribute from cached template loader. | Tom Forbes | |
| Unused since 5d8da093a974f41e08573bbe0d32d5ffeaadd0ad. | |||
| 2019-01-18 | Fixed #30107 -- Removed unused dirs variable from cache template loader keys. | Tim Graham | |
| Unused since 5d8da093a974f41e08573bbe0d32d5ffeaadd0ad. | |||
| 2019-01-02 | Used 4 space hanging indent for dictionaries. | Tim Graham | |
| Thanks Mariusz Felisiak for auditing. | |||
| 2018-09-28 | Refs #28909 -- Simplifed code using unpacking generalizations. | Sergey Fedoseev | |
| 2018-09-26 | Refs #29784 -- Switched to https:// links where available. | Jon Dufresne | |
| 2018-09-25 | Refs #29784 -- Normalized Python docs links to omit the version. | 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-11 | Simplified BaseContext.__iter__(). | Sergey Fedoseev | |
| 2018-07-09 | Removed unneded str() calls prior to mark_safe(); simplified mark_safe(). | Sergey Fedoseev | |
| 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. | |||
