id | name |
---|---|
{{ person.id }} | {{ person.name }} |
No people on this page. |
This example shows you how you can do partial rendering for htmx requests using django-template-partials. The view renders only the content of the table section partial for requests made with htmx, saving time and bandwidth. Paginate through the below list of randomly generated people to see this in action, and study the view and template.
id | name |
---|---|
{{ person.id }} | {{ person.name }} |
No people on this page. |