Improve infinite scrolling in django
Budget: $20 – $50 USD
django+bootstrap
There is a page with infinite scrolling, but now it does not work correctly.
Given:
There is a queryset with news. The news is divided into types: big and small. If the news is big, then it goes to the big div(col-lg-8), if the news is small, then to the small div(col-lg-4).
Problem:
Due to the fact that pagination is always a static value, and the number of small and large news is different, rows appear that are 1/3 or 2/3 full.
It is necessary to provide a solution for correct display - for example, with dynamic pagination or div from a new page got up in one row with the div of the previous page.
There is a page with infinite scrolling, but now it does not work correctly.
Given:
There is a queryset with news. The news is divided into types: big and small. If the news is big, then it goes to the big div(col-lg-8), if the news is small, then to the small div(col-lg-4).
Problem:
Due to the fact that pagination is always a static value, and the number of small and large news is different, rows appear that are 1/3 or 2/3 full.
It is necessary to provide a solution for correct display - for example, with dynamic pagination or div from a new page got up in one row with the div of the previous page.