Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
168 views
in Technique[技术] by (71.8m points)

python - Django ListView Multiple Pagination in Same Page

I was trying to make multiple pagination in the same page with out using any library.

I followed this Multiple Pagination Method and successfully implemented it. However, one issue in this is say if I'm on page 3 on model_one, I click on next for model_two, then model_one resets to page 1, and model_two goes to page 2.

Is there any way to retain the page of a table, while navigating through pages of another table?

P.S.: If there is any library, please let me know as well. Found two versions of Django-Endless-Pagination, both seems to be abandoned around Django 1.8-2.0, and are more for Python2 than 3.

TIA

question from:https://stackoverflow.com/questions/65848020/django-listview-multiple-pagination-in-same-page

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...