R
R
rusyska550112021-03-05 22:08:32
Django
rusyska55011, 2021-03-05 22:08:32

How to make it so that a new page is automatically created if there are more than 20 entries?

How easy it is to display posts - this is understandable, but here's how to flip every 20 posts to other pages?
For example:
On one page /news/1 from 0-20 entries, on /news/2 from 20-40 entries, etc.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry, 2021-03-05
@rusyska55011

Django pagination

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question