I am new to django and i am using django pagination to add pagination inside my html page.My problem is i want to use pagination to paginate different table rows, but when i add the template tags for autopagination the prev/next/and pages get displayed but on selecting the next page it is redirected to another page(where a list referenced before assignment error pops up). I want the next button to display the next set of 20 entries, and not go to any html page.What should i do?
With the limited information provided in the question I can only provide two possible causes for the error:
Please share some more information, code snippets and error logs would be better.