| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2025-08-25 | Refs #36485 -- Rewrapped docs to 79 columns line length. | David Smith | |
| Lines in the docs files were manually adjusted to conform to the 79 columns limit per line (plus newline), improving readability and consistency across the content. | |||
| 2025-08-25 | Refs #36485 -- Removed double spaces after periods in sentences. | Natalia | |
| 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> | |||
| 2023-02-10 | Refs #34140 -- Applied rst code-block to non-Python examples. | Carlton Gibson | |
| Thanks to J.V. Zammit, Paolo Melchiorre, and Mariusz Felisiak for reviews. | |||
| 2022-07-22 | Fixed #33317 -- Added note about unconditional evaluation of {% block %} tags. | Victor | |
| 2022-05-31 | Fixed docs build with sphinxcontrib-spelling 7.5.0+. | Mariusz Felisiak | |
| sphinxcontrib-spelling 7.5.0+ includes captions of figures in the set of nodes for which the text is checked. | |||
| 2022-03-09 | Changed "bolded" to "in bold" in docs. | David Smith | |
| 2021-07-29 | Fixed 32956 -- Lowercased spelling of "web" and "web framework" where ↵ | David Smith | |
| appropriate. | |||
| 2021-02-26 | Fixed #20423 -- Doc'd that DTL variable names may not be a number. | tim-mccurrach | |
| 2020-08-05 | Fixed #29336 -- Doc'd circular template inheritance | David Smith | |
| 2020-06-01 | Fixed typo in docs/ref/templates/language.txt. | Chris May | |
| 2020-05-04 | Refs #30573 -- Rephrased "Of Course" and "Obvious(ly)" in documentation and ↵ | Adam Johnson | |
| comments. | |||
| 2020-04-23 | Updated template language philosophy in DTL docs. | David Smith | |
| 2020-04-07 | Fixed highlightlang deprecation warning on Sphinx 1.8+. | Mariusz Felisiak | |
| 2020-01-29 | Refs #25778 -- Updated some links to HTTPS and new locations. | Mariusz Felisiak | |
| 2019-12-18 | Fixed #30585 -- Added {% translate %} and {% blocktranslate %} template tags. | Mike Hansen | |
| 2019-09-06 | Fixed #30573 -- Rephrased documentation to avoid words that minimise the ↵ | Tobias Kunze | |
| involved difficulty. This patch does not remove all occurrences of the words in question. Rather, I went through all of the occurrences of the words listed below, and judged if they a) suggested the reader had some kind of knowledge/experience, and b) if they added anything of value (including tone of voice, etc). I left most of the words alone. I looked at the following words: - simply/simple - easy/easier/easiest - obvious - just - merely - straightforward - ridiculous Thanks to Carlton Gibson for guidance on how to approach this issue, and to Tim Bell for providing the idea. But the enormous lion's share of thanks go to Adam Johnson for his patient and helpful review. | |||
| 2019-04-25 | Fixed #30399 -- Changed django.utils.html.escape()/urlize() to use ↵ | Jon Dufresne | |
| html.escape()/unescape(). | |||
| 2018-09-10 | Refs #20910 -- Replaced snippet directive with code-block. | Curtis Maloney | |
| 2018-07-03 | Doc'd that template variables & attributes may not start with an underscore. | Greg Kaleka | |
| 2018-01-21 | Fixed #29038 -- Removed closing slash from HTML void tags. | Jon Dufresne | |
| 2018-01-07 | Updated various links in docs to use HTTPS. | Mariusz Felisiak | |
| 2017-04-26 | Fixed #27730 -- Doc'd that template vars created outside a block can't be ↵ | kapil garg | |
| used in it. | |||
| 2017-01-18 | Refs #23919 -- Removed Python 2 notes in docs. | Tim Graham | |
| 2016-01-11 | Added missing period to "etc.". | pp | |
| 2015-10-21 | Fixed #25574 -- Documented {{ dict.items }} shadowing in for template tag docs. | Jacek Bzdak | |
| 2015-08-08 | Updated Wikipedia links to use https | Claude Paroz | |
| 2015-01-10 | Wrote main documentation for templates. | Aymeric Augustin | |
| 2015-01-10 | Moved doc on the DTL's syntax to the ref/ section. | Aymeric Augustin | |
| This makes room for a more general introduction about templating. Updated some links to point to the new location, but kept those that didn't talk specifically about the DTL. | |||
