1
Django template language works by making new server-side requests, to load only the result through ajax you will need to create the javascript call and an api that returns the table items in json format. I suggest using some framework (Vue, angular etc) and creating a pagination component.
Unnecessary code has been cut, only the code that is required for paging
– Vítor Rodrigues
Utilize Datatable here. https://pypi.org/project/django-datatables-view/
– Ernesto Casanova