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.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3d87a-2c392.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3d87a-2c392.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?