News for hackers. Stuff that matters.
Re:Django: What's new in 6.0 – Adam Johnson by WD-42 on Tuesday December 09, 2025 @06:46PM (#46212274)
Partialdef inline is the real win. Lets you define parts of a page without needing to place them in another file. Reduces the mental overhead of imagining how the inclusion will look because it’s already there.

The use case is mainly driven by htmx where you will have lots of these partials and the view code renders them as individual responses.

There are no comments on this comment yet.