Search code examples
jquerydjangodjango-pagination

jquery to add scroll down pagination to show results


Currently I am using django-pagination to show limited results at one page

...
{% autopaginate object_list 10 %}
{% for item in object_list %}
...
{{ item }}
...
{% endfor %}
...
{% paginate %}
...

I need jquery to do this. load results at scroll down the page e.g. https://www.google.com.pk/search?hl=en&q=nature+wallpapers&bav=on.2,or.r_gc.r_pw.r_qf.,cf.osb&biw=1304&bih=680&um=1&ie=UTF-8&tbm=isch&source=og&sa=N&tab=wi&authuser=0&ei=fFQJUILdN4bBtAbNhJGoCQ


Solution

  • You can check out django-endless-pagination. It is another django app for pagination. It has pagination-on-scroll.