<feed xmlns='http://www.w3.org/2005/Atom'>
<title>chango.git/docs/ref/templates, branch devmain</title>
<subtitle>django
</subtitle>
<id>http://cgit.adnoto.dev/chango.git/atom?h=devmain</id>
<link rel='self' href='http://cgit.adnoto.dev/chango.git/atom?h=devmain'/>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/chango.git/'/>
<updated>2026-05-20T20:17:41Z</updated>
<entry>
<title>Removed versionadded/changed annotations for 6.0.</title>
<updated>2026-05-20T20:17:41Z</updated>
<author>
<name>Sarah Boyce</name>
<email>42296566+sarahboyce@users.noreply.github.com</email>
</author>
<published>2026-05-13T15:54:37Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/chango.git/commit/?id=c17e494866024304da7f49a8ac3a43ac53bec93e'/>
<id>urn:sha1:c17e494866024304da7f49a8ac3a43ac53bec93e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fixed #36784 -- Added csp_nonce_attr template tag for CSP nonce inclusion.</title>
<updated>2026-05-06T23:43:37Z</updated>
<author>
<name>Natalia</name>
<email>124304+nessita@users.noreply.github.com</email>
</author>
<published>2026-03-26T01:53:58Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/chango.git/commit/?id=5686ce41958b21f0ae5bfa290e8d4420a6349c1b'/>
<id>urn:sha1:5686ce41958b21f0ae5bfa290e8d4420a6349c1b</id>
<content type='text'>
New default tag `{% csp_nonce_attr %}` was added for explicit CSP nonce
inclusion into `&lt;script&gt;` and `&lt;link&gt;` elements.

`{% csp_nonce_attr %}` renders `nonce="&lt;value&gt;"` when `csp_nonce` is
present in the template context, and renders nothing otherwise.
`{% csp_nonce_attr media %}` renders a `Media` object's assets with the
nonce attr applied to each tag.

Thanks Jacob Walls for the accurate and spot on review comments.

Co-authored-by: Johannes Maron &lt;johannes@maron.family&gt;
</content>
</entry>
<entry>
<title>Fixed #36944 -- Removed MAX_LENGTH_HTML and related 5M chars limit references from HTML truncation docs.</title>
<updated>2026-02-25T16:08:52Z</updated>
<author>
<name>Natalia</name>
<email>124304+nessita@users.noreply.github.com</email>
</author>
<published>2026-02-25T13:37:38Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/chango.git/commit/?id=bbc6818bc12f14c1764a7eb68556018195f56b59'/>
<id>urn:sha1:bbc6818bc12f14c1764a7eb68556018195f56b59</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fixed #36570 -- Removed unnecessary :py domain from documentation roles.</title>
<updated>2025-08-28T06:52:43Z</updated>
<author>
<name>SaJH</name>
<email>wogur981208@gmail.com</email>
</author>
<published>2025-08-25T15:50:53Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/chango.git/commit/?id=3c0c54351b58e9386375d2bd7a8c60dadc4bb6e8'/>
<id>urn:sha1:3c0c54351b58e9386375d2bd7a8c60dadc4bb6e8</id>
<content type='text'>
Signed-off-by: SaJH &lt;wogur981208@gmail.com&gt;
</content>
</entry>
<entry>
<title>Refs #36485 -- Rewrapped docs to 79 columns line length.</title>
<updated>2025-08-25T13:51:10Z</updated>
<author>
<name>David Smith</name>
<email>smithdc@gmail.com</email>
</author>
<published>2025-07-25T09:24:17Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/chango.git/commit/?id=f81e6e3a53ee36e3f730a71aa55a5744982dd016'/>
<id>urn:sha1:f81e6e3a53ee36e3f730a71aa55a5744982dd016</id>
<content type='text'>
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.
</content>
</entry>
<entry>
<title>Refs #36485 -- Removed double spaces after periods in sentences.</title>
<updated>2025-08-25T13:51:10Z</updated>
<author>
<name>Natalia</name>
<email>124304+nessita@users.noreply.github.com</email>
</author>
<published>2025-08-22T15:36:48Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/chango.git/commit/?id=4286a23df64f6ce3b9b6ed097f4d1aac7d9e0de4'/>
<id>urn:sha1:4286a23df64f6ce3b9b6ed097f4d1aac7d9e0de4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fixed #36410 -- Added support for Template Partials to the Django Template Language.</title>
<updated>2025-08-15T00:53:14Z</updated>
<author>
<name>farhan</name>
<email>farhanalirazaazeemi@gmail.com</email>
</author>
<published>2025-06-03T05:32:34Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/chango.git/commit/?id=5e06b970956af4854e970e74990cb971ba31c96b'/>
<id>urn:sha1:5e06b970956af4854e970e74990cb971ba31c96b</id>
<content type='text'>
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 &lt;carlton@noumenal.es&gt;
Co-authored-by: Natalia &lt;124304+nessita@users.noreply.github.com&gt;
Co-authored-by: Nick Pope &lt;nick@nickpope.me.uk&gt;
</content>
</entry>
<entry>
<title>Fixed #15727 -- Added Content Security Policy (CSP) support.</title>
<updated>2025-06-27T18:57:02Z</updated>
<author>
<name>Rob Hudson</name>
<email>rob@cogit8.org</email>
</author>
<published>2025-05-03T17:01:58Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/chango.git/commit/?id=d63241ebc7067fdebbaf704989b34fcd8f26bbe9'/>
<id>urn:sha1:d63241ebc7067fdebbaf704989b34fcd8f26bbe9</id>
<content type='text'>
This initial work adds a pair of settings to configure specific CSP
directives for enforcing or reporting policy violations, a new
`django.middleware.csp.ContentSecurityPolicyMiddleware` to apply the
appropriate headers to responses, and a context processor to support CSP
nonces in templates for safely inlining assets.

Relevant documentation has been added for the 6.0 release notes,
security overview, a new how-to page, and a dedicated reference section.

Thanks to the multiple reviewers for their precise and valuable feedback.

Co-authored-by: Natalia &lt;124304+nessita@users.noreply.github.com&gt;
</content>
</entry>
<entry>
<title>Fixed #36311 -- Unified spelling of "hardcode" and its variants in docs.</title>
<updated>2025-04-15T17:48:55Z</updated>
<author>
<name>Ahmed Nassar</name>
<email>a.moh.nassar00@gmail.com</email>
</author>
<published>2025-04-14T17:12:56Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/chango.git/commit/?id=be402891cd78f484b7f67e486924975523516ced'/>
<id>urn:sha1:be402891cd78f484b7f67e486924975523516ced</id>
<content type='text'>
Co-authored-by: Natalia &lt;124304+nessita@users.noreply.github.com&gt;
</content>
</entry>
<entry>
<title>Fixed #35529 -- Added support for positional arguments in querystring template tag.</title>
<updated>2025-03-25T15:23:41Z</updated>
<author>
<name>Giannis Terzopoulos</name>
<email>terzo.giannis@gmail.com</email>
</author>
<published>2025-03-19T11:21:41Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/chango.git/commit/?id=a39c28706aa7a8c3effd0980ae6d59ae67299d85'/>
<id>urn:sha1:a39c28706aa7a8c3effd0980ae6d59ae67299d85</id>
<content type='text'>
Co-authored-by: Natalia &lt;124304+nessita@users.noreply.github.com&gt;
</content>
</entry>
</feed>
