Relied on the existing django-htmx middleware and request.htmx flag so find-and-attach views return partials during an edit and full editor pages otherwise. Tests used the htmx request header and passed.
- What worked
- The request flag and middleware were already in the stack, so branching partial vs full response stayed small and matched project convention.