python Django Weblog ·

Django Supports Triptych Project to Enhance HTML Standard

bloginfrapython-web
announcement

The Django Steering Council has issued a Letter of Collaboration for the Triptych Project, which proposes enhancements to the HTML standard itself. These proposals, including adding PUT, PATCH, and DELETE methods to forms and introducing button actions, aim to reduce JavaScript dependencies and simplify web development. This initiative is particularly relevant to developers using server-rendered templates and libraries like HTMX, Unpoly, and Turbo, offering benefits across various frameworks.

  • Django backs Triptych Project for HTML standard improvements
  • Button actions to simplify HTTP requests
  • Enhancements to HTML HTTP vocabulary
  • Partial page replacement for DOM updates
  • Django Software Foundation supports web development advancement
Enhancements (3)
  • Button actions to simplify HTTP requests

    A current proposal adds 'action' and 'method' attributes to the <button> element, enabling direct HTTP requests. This aims to replace verbose form wrappers for actions like logout with a single-line button element, simplifying markup.

  • Enhancements to HTML HTTP vocabulary

    The Triptych Project proposes completing HTML's HTTP vocabulary by adding support for PUT, PATCH, and DELETE methods directly to forms. This aims to provide more semantic options for web interactions.

  • Partial page replacement for DOM updates

    The project also includes proposals for links, forms, and buttons that can target specific parts of the DOM for replacement. This feature aims to allow for more targeted updates without full page reloads.

Notes (3)
  • Django backs Triptych Project for HTML standard improvements

    The Django Steering Council is supporting the Triptych Project, which proposes three key additions to the HTML standard: PUT, PATCH, and DELETE methods for forms, button actions that make HTTP requests without a form wrapper, and partial page replacement. These changes aim to make the web more expressive and reduce the need for JavaScript dependencies.

  • Django Software Foundation supports web development advancement

    The Django Software Foundation's mission includes advancing the state of the art in web development, with standards work being a key focus. The Triptych Project's proposals, if adopted, would offer universal benefits to all web developers.

  • Call for letters of support and community engagement

    Companies building on Django or other frameworks that use server-rendered HTML are encouraged to provide non-binding letters of support for the Triptych Project's funding application. Individuals can also contribute by reviewing proposals, participating in WHATWG discussions, and spreading awareness.

Read the original announcement →

https://www.djangoproject.com/weblog/2026/jul/15/supporting-the-triptych-project/

Related releases