Skip to content

Replace tree_node.html include with inline Django 6.0 partialdef#386

Merged
C4ptainCrunch merged 1 commit into
mainfrom
claude/use-django-template-partials-LaH6N
May 15, 2026
Merged

Replace tree_node.html include with inline Django 6.0 partialdef#386
C4ptainCrunch merged 1 commit into
mainfrom
claude/use-django-template-partials-LaH6N

Conversation

@C4ptainCrunch

Copy link
Copy Markdown
Contributor

The recursive tree_node.html file is folded into tree.html using
{% partialdef tree_node %} / {% partial tree_node %}. Context is passed
via {% with node=child %}, which works because PartialNode uses
DeferredSubDict for runtime lookup, making recursive self-reference safe.

https://claude.ai/code/session_01M6L96N8QWgnkDqGCYobb4d

The recursive tree_node.html file is folded into tree.html using
{% partialdef tree_node %} / {% partial tree_node %}. Context is passed
via {% with node=child %}, which works because PartialNode uses
DeferredSubDict for runtime lookup, making recursive self-reference safe.

https://claude.ai/code/session_01M6L96N8QWgnkDqGCYobb4d
@C4ptainCrunch C4ptainCrunch force-pushed the claude/use-django-template-partials-LaH6N branch from 471b246 to 332e7e7 Compare May 15, 2026 20:52
@C4ptainCrunch C4ptainCrunch merged commit ef6cc7e into main May 15, 2026
2 checks passed
@C4ptainCrunch C4ptainCrunch deleted the claude/use-django-template-partials-LaH6N branch May 15, 2026 20:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants