django rest framework: change in ListAPIView return format?
<p>Just in the process of upgrading django rest framework from 3.2.3 to 3.4.6.<br>
I also upgraded django from 1.8.6 to 1.10</p>

<p>It looks like return values from ListAPIView have changed format? i.e. they used to be objects like</p>

<pre><code>{
  "count": 0,
  "next": null,
  "previous": null,
  "results": []
}
</code></pre>

<p>but now are just straight arrays?</p>

<pre><code>[]
</code></pre>

<p>I'm looking all over the place trying to find documentation for this change but can't find any. Is anyone able to help point me in the right direction?</p>

<p>Apparently now in django rest framework you must explictly set the pagination class or at least a global default.</p>

<p><a href="http://www.django-rest-framework.org/api-guide/pagination/#setting-the-pagination-style" rel="nofollow">http://www.django-rest-framework.org/api-guide/pagination/#setting-the-pagination-style</a></p>

python django django-rest-framework