D
D
devalone2017-03-26 00:47:11
Django
devalone, 2017-03-26 00:47:11

Django. What to do when there are too many pages?

Django has a very handy pagination feature, but when there are a lot of pages it looks ugly. I biked my solution, which limits the number of output pages and outputs something like 1 2 ... 45 (56) 47 48 ... 99 100. But bicycles are bad, maybe I searched badly and django has a solution for such a situation?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Roman Kitaev, 2017-03-26
@deliro

Are you calling a 2-line custom tag a bike?
Then your whole project is a cycling marathon)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question