Django templates on the frontend?
summary
Proposal: a Rust tool called django-template-transpiler parses Django templates (reusing django-rusty-template) and emits a single JavaScript render function so templates run client-side, cutting HTTP requests for interactions like adding a formset row. Implementation uses Rust + oxc to generate JS and embeds many filters in pure JS. Current state is usable for demos: live demo adds forms with no network calls, but many tags (include, extends, partial), URL/translation hooks, error handling and safe escaping are not yet implemented and panics remain.
AI-written summary · about
