2

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

Ch Zeeshan
  • 1,644
  • 11
  • 29

2 Answers2

1

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

machaku
  • 1,176
  • 8
  • 7
0

So you're asking how one would implement Infinite scroll in Django using jquery.

There's a lot of information out there on this subject, did you try google ?

http://palewi.re/posts/2010/11/07/django-recipe-twitter-style-infinite-scroll/

Jonas Geiregat
  • 5,214
  • 4
  • 41
  • 60