<feed xmlns='http://www.w3.org/2005/Atom'>
<title>django.git/tests/template_tests/templates/partial_base.html, branch main</title>
<subtitle>django
</subtitle>
<id>http://cgit.adnoto.dev/django.git/atom?h=main</id>
<link rel='self' href='http://cgit.adnoto.dev/django.git/atom?h=main'/>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/'/>
<updated>2025-08-15T00:53:14Z</updated>
<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/django.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>
</feed>
