title: Django and Ajax. Right way of infinite scroll implement
body: <p>I've got a page where user selects some tags, then in my view I make an aggregate-query to the mongodb and return a result depending on tags selected. There are a lot of documents, that's why I only display only fixed number of them. I want to use infinite scroll with ajax.</p>
  
  <p>So when user scrolls down, Ajax-request with $limit and $skip values is passing to my view, getting to .is_ajax() part, and getting back values from Command Cursor aggregate-query.</p>
  
  <p>Is it a right way to do such things in Django? I'm new in it and didn't experienced with such things.</p>
  
  <p>I'm using Django 1.8 and mongoengine.</p>