Reading the Django 6.0 release notes, I really like the new Template Partials in the Django Template Language, originally started by @carltonCarlton Gibson. They strongly resonate with the Locality of Behavior design principle.

Since Django also supports Jinja2, I’m curious about convergence there too. Projects like jinja2-fragments by @sergi and jinja_partials by @mkennedyMichael Kennedy explore similar ideas.

docs.djangoproject.com/en/6.0/
github.com/sponsfreixes/jinja2

Just a thought, not a proposal 🙂

Photo taken at the Venice Art Biennale 2019, showing an artwork made of many small, brightly colored canvases arranged together on a wall. Each canvas is a self-contained piece, but when viewed together they form a larger, coherent composition, visually expressing the relationship between individual parts and the whole.
0

If you have a fediverse account, you can quote this note from your own instance. Search https://fosstodon.org/users/paulox/statuses/115746603580003305 on your instance and quote it. (Note that quoting is not supported in Mastodon.)