Commit 471b246
committed
Replace tree_node.html include with inline Django 6.0 partialdef
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_01M6L96N8QWgnkDqGCYobb4d1 parent 6f649c6 commit 471b246
2 files changed
Lines changed: 19 additions & 16 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
6 | 24 | | |
7 | 25 | | |
8 | 26 | | |
| |||
65 | 83 | | |
66 | 84 | | |
67 | 85 | | |
68 | | - | |
| 86 | + | |
69 | 87 | | |
70 | 88 | | |
71 | 89 | | |
| |||
This file was deleted.
0 commit comments