Pagination on different cards reside on the same template

29 views
Skip to first unread message

Eugene TUYIZERE

unread,
Nov 25, 2021, 7:42:03 PM11/25/21
to django...@googlegroups.com
Dear Team,

I have 4 cards on a single html page. I want to display data on each one but since the data has many rows I want to apply pagination on each card. How can I achieve this? I was thinking of using ListView but this displays pagination on the whole page. I did not try any other codes because I have no idea

Kindly assist.
--
Eugene



David Nugent

unread,
Nov 25, 2021, 9:27:44 PM11/25/21
to django...@googlegroups.com
Hi Eurgene,

I would implement this in Javascript (or htmx). Some good examples are only a google search away.

Regards, David

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CABxpZHvBC0ifjPY8URFq5HdFtJhhYnSbECT6f7Vtr8dX06otAg%40mail.gmail.com.

Eugene TUYIZERE

unread,
Nov 26, 2021, 5:47:28 AM11/26/21
to django...@googlegroups.com
Dear David, 

Thanks, after some hours of search,I managed to achieve it with python only.
Reply all
Reply to author
Forward
0 new messages