Django article content page pagination display how to do this? Not list paging. The content of a single article is divided into pages. Do you have any ideas?

django article content page pagination display how to do this? Not list paging. The content of a single article is divided into pages. Do you have any ideas?

clipboard.png

something like this

Thank you ~

Oct.08,2021
The suggestion of

starts from the front end. Logically, the back end does not know how large the display area of the front-end device is, so it does not know on what basis to determine paging. There is still a solution to the content paging of js articles on the Internet. You can try: -)


agree with the view of the first floor.
if you do it on the server side, you can consider slicing the document.
slice length is used as an offset to retain records as a basis for paging a single document.

Menu