Answer the question
In order to leave comments, you need to log in
How to make adjustable pagination in django?
Good afternoon, this is my first project, I am writing an application in Django (Python) like a news feed. I made a pagination of news (via Paginator) and now I need the user to be able to choose how many news can be on one page (10, 20, 50). Tell me how to implement it?
Answer the question
In order to leave comments, you need to log in
store somewhere with the user the amount selected, and then use this value in the paginator.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question