Django on Nostr: Next up, rendering: This can be done with the `{% partial %}` tag. Give it the name ...
Next up, rendering:
This can be done with the `{% partial %}` tag. Give it the name of a partial template and the contents of that template will be rendered at that location in the template. This works exactly like `{% include %}` would on a template file.
{
"id":"a94e1c42230008b7dfd94d5143a5ef1981884e522fa2cacec9e9070266a5e93f",
"pubkey":"fbf16dc67e762aec788c80a078effed585efa445bf222733e88db52f92f491dc",
"created_at":1766145547,
"kind":1,
"tags": [
[
"p",
"fbf16dc67e762aec788c80a078effed585efa445bf222733e88db52f92f491dc"
],
[
"imeta",
"url https://cdn.fosstodon.org/media_attachments/files/115/746/114/470/130/044/original/b8a50ea29750ea96.png",
"m image/png"
],
[
"e",
"950d821f926fa01bda6bffb9c22f6d2d7ed2539df6cd2958102886a572a9bab2",
"",
"reply",
"fbf16dc67e762aec788c80a078effed585efa445bf222733e88db52f92f491dc"
],
[
"proxy",
"https://fosstodon.org/@django/115746114600173433",
"web"
],
[
"e",
"462cccaf7911556199de228fe2d6ff2146d846e89e8d5d34ac70374a263358b9",
"",
"root",
"fbf16dc67e762aec788c80a078effed585efa445bf222733e88db52f92f491dc"
],
[
"proxy",
"https://fosstodon.org/users/django/statuses/115746114600173433",
"activitypub"
],
[
"L",
"pink.momostr"
],
[
"l",
"pink.momostr.activitypub:https://fosstodon.org/users/django/statuses/115746114600173433",
"pink.momostr"
],
[
"-"
]
],
"content":"Next up, rendering:\n\nThis can be done with the `{% partial %}` tag. Give it the name of a partial template and the contents of that template will be rendered at that location in the template. This works exactly like `{% include %}` would on a template file.\nhttps://cdn.fosstodon.org/media_attachments/files/115/746/114/470/130/044/original/b8a50ea29750ea96.png\n",
"sig":"fb29e4278e533af2b487dbc554261a50cf95ef3cae5391c78c91cab7c58dff5f5c414874b9b3485692605ec4ed17c2ed418472e99fceb0f31583055aa4fbfe3f"
}