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":"d985707c6245fb052fbc2979f59c803a4bd28172ebe154686f187da03e6d20af",
"pubkey":"9014195fd37e31fcaae45ec99f591b1827391343bd4e4af0f08d788ba58b949a",
"created_at":1766145547,
"kind":1,
"tags": [
[
"e",
"5b11462a42a6c1b0ed8af43acd071a6038f62f12ba078c152d69d175c3c1103c",
"wss://relay.ditto.pub/",
"reply"
],
[
"imeta",
"url https://cdn.fosstodon.org/media_attachments/files/115/746/114/470/130/044/original/b8a50ea29750ea96.png",
"m image/png",
"dim 500x308",
"blurhash UARfzmE0%L~WGSoNe:WnBfs;M{NFPRogn,ay"
],
[
"proxy",
"https://fosstodon.org/users/django/statuses/115746114600173433",
"activitypub"
],
[
"client",
"Mostr",
"31990:6be38f8c63df7dbf84db7ec4a6e6fbbd8d19dca3b980efad18585c46f04b26f9:mostr",
"wss://relay.ditto.pub/"
]
],
"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.\n\nhttps://cdn.fosstodon.org/media_attachments/files/115/746/114/470/130/044/original/b8a50ea29750ea96.png",
"sig":"ad03308e96308c9f7ba9d3dc27270cce8010009c503897a7d004a7b69008c7083fd8aa315532077eff5c0a90bcfe931ff893bff658fdaabad59b1760dff47c21"
}