| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2026-04-28 | Fixed #35738 -- Deprecated double-dot variable lookups. | David Smith | |
| 2025-12-15 | Fixed #36783 -- Ensured proper handling of multi-value QueryDicts in ↵ | Marc Gibbons | |
| querystring template tag. Co-authored-by: Jacob Walls <jacobtylerwalls@gmail.com> Co-authored-by: Natalia <124304+nessita@users.noreply.github.com> | |||
| 2025-08-14 | Fixed #36410 -- Added support for Template Partials to the Django Template ↵ | farhan | |
| Language. Introduced `{% partialdef %}` and `{% partial %}` template tags to define and render reusable named fragments within a template file. Partials can also be accessed using the `template_name#partial_name` syntax via `get_template()`, `render()`, `{% include %}`, and other template-loading tools. Adjusted `get_template()` behavior to support partial resolution, with appropriate error handling for invalid names and edge cases. Introduced `PartialTemplate` to encapsulate partial rendering behavior. Includes tests and internal refactors to support partial context binding, exception reporting, and tag validation. Co-authored-by: Carlton Gibson <carlton@noumenal.es> Co-authored-by: Natalia <124304+nessita@users.noreply.github.com> Co-authored-by: Nick Pope <nick@nickpope.me.uk> | |||
| 2025-07-23 | Refs #36500 -- Rewrapped long docstrings and block comments via a script. | django-bot | |
| Rewrapped long docstrings and block comments to 79 characters + newline using script from https://github.com/medmunds/autofix-w505. | |||
| 2025-07-23 | Removed double spaces after periods and within phrases. | Sarah Boyce | |
| 2025-04-17 | Fixed #28050 -- Added template name to TemplateSyntaxError. | farhan | |
| 2025-03-25 | Fixed #35529 -- Added support for positional arguments in querystring ↵ | Giannis Terzopoulos | |
| template tag. Co-authored-by: Natalia <124304+nessita@users.noreply.github.com> | |||
| 2025-03-24 | Fixed #36271 -- Raised TemplateSyntaxError when using a relative template ↵ | YogyaChugh | |
| path with an unknown origin. | |||
| 2025-03-24 | Fixed #36268 -- Added leading `?` in every querystring template tag result. | Natalia | |
| Thanks Sarah Boyce for the report. | |||
| 2025-03-24 | Ensured consistency in naming in ↵ | Natalia | |
| template_tests/syntax_tests/test_querystring.py. | |||
| 2025-02-24 | Fixed #36186 -- Added forloop.length variable within a template for loop. | Jonathan Ströbele | |
| 2025-02-13 | Fixed #36182 -- Returned "?" if all parameters are removed in querystring ↵ | Sarah Boyce | |
| template tag. Thank you to David Feeley for the report and Natalia Bidart for the review. | |||
| 2024-12-06 | Fixed #35493 -- Allowed template self-inclusion with relative paths. | Gabriel Nick Pivovarov | |
| Co-authored-by: Brock <bsmick97@gmail.com> | |||
| 2024-11-29 | Refs #10941 -- Added tests in querystring template tag. | Natalia | |
| These extra tests assert over the handling of empty params (None, empty dict, empty QueryDict), and also for dicts having non-string keys. | |||
| 2024-11-29 | Refs #10941 -- Added helper and refactored tests for querystring template tag. | Natalia | |
| Thank you Sarah Boyce for the review and suggestions. | |||
| 2024-09-17 | Fixed #35735 -- Enabled template access to methods and properties of classes ↵ | Fabian Braun | |
| with __class_get_item__. | |||
| 2024-07-16 | Refs #10941 -- Renamed test file test_query_string.py to test_querystring.py. | nessita | |
| This follows previous renames made in 27043bde5b795eb4a605aeca1d3bc4345d2ca478. | |||
| 2024-07-15 | Refs #10941 -- Renamed query_string template tag to querystring. | Sarah Boyce | |
| 2023-12-31 | Used addCleanup() in tests where appropriate. | Mariusz Felisiak | |
| 2023-10-26 | Fixed #10941 -- Added {% query_string %} template tag. | Tom Carrick | |
| 2023-02-01 | Refs #33476 -- Applied Black's 2023 stable style. | David Smith | |
| Black 23.1.0 is released which, as the first release of the year, introduces the 2023 stable style. This incorporates most of last year's preview style. https://github.com/psf/black/releases/tag/23.1.0 | |||
| 2022-07-14 | Fixed #33631 -- Marked {% blocktranslate asvar %} result as HTML safe. | cheng | |
| 2022-02-07 | Refs #33476 -- Refactored code to strictly match 88 characters line length. | Mariusz Felisiak | |
| 2022-02-07 | Refs #33476 -- Reformatted code with Black. | django-bot | |
| 2022-02-03 | Refs #33476 -- Refactored problematic code before reformatting by Black. | Mariusz Felisiak | |
| In these cases Black produces unexpected results, e.g. def make_random_password( self, length=10, allowed_chars='abcdefghjkmnpqrstuvwxyz' 'ABCDEFGHJKLMNPQRSTUVWXYZ' '23456789', ): or cursor.execute(""" SELECT ... """, [table name], ) | |||
| 2022-02-01 | Fixed CVE-2022-22818 -- Fixed possible XSS via {% debug %} template tag. | Markus Holtermann | |
| Thanks Keryn Knight for the report. Co-authored-by: Adam Johnson <me@adamj.eu> | |||
| 2021-08-02 | Refs #32956 -- Corrected spelling of "gray". | David Smith | |
| 2021-06-10 | Refs #24121 -- Added __repr__() to AdminForm, BlockContext, ↵ | saeedblanchette | |
| BlockTranslateNode, and IncludeNode. | |||
| 2021-05-12 | Refs #24121 -- Added__repr__() to StaticNode. | saeedblanchette | |
| 2021-03-02 | Refs #24121 -- Added __repr__() to URLNode. | Rohith PR | |
| 2021-02-06 | Refs #32394 -- Changed STATIC_URL/MEDIA_URL to relative paths in tests and ↵ | Markus Holtermann | |
| docs where appropriate. | |||
| 2021-01-14 | Refs #25236 -- Removed {% ifequal %} and {% ifnotequal %} template tags per ↵ | Mariusz Felisiak | |
| deprecation timeline. | |||
| 2020-09-29 | Fixed #18995 -- Made blocktranslate tag raise TemplateSyntaxError when ↵ | Jacob Walls | |
| plural count is not a number. | |||
| 2020-05-14 | Completed lorem tag test coverage. | David Smith | |
| 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-04-20 | Capitalized Unicode in docs, strings, and comments. | Jon Dufresne | |
| 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 | |
| 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-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-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-04-25 | Fixed #30399 -- Changed django.utils.html.escape()/urlize() to use ↵ | Jon Dufresne | |
| html.escape()/unescape(). | |||
| 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 | |
| 2018-11-27 | Made reused RequestFactory instances class attributes. | Simon Charette | |
| 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-27 | Moved yesno filter test to its file. | Hasan Ramezani | |
| 2018-04-18 | Refs #23890 -- Removed numpy deprecation warning silencing. | Tim Graham | |
| Obsolete since numpy 1.12.0. | |||
