title: Queryset Cannot reorder a query once a slice has been taken
body: <p>I am having some trouble with a queryset in Django. Unfortunately I cannot use the Django REST Framework built in pagination because it adds unwated JSON fields such as "next", "previous" and "count", so I wanted to limit using the [:10] option on the queryset.</p>
  
  <p>In my attempt below, I am getting the error:
  <code>Queryset Cannot reorder a query once a slice has been taken.</code></p>
  
  <pre><code>class LocationsViewSet(viewsets.ReadOnlyModelViewSet):
      serializer_class = serializers.LocationSerializer
      ordering = ('location_name',)
  
      def get_queryset(self):
          queryset = models.GeonamesLocation.objects.all()
          name_prefix = self.request.QUERY_PARAMS.get('name_prefix', None)
          if name_prefix is not None:
              if len(name_prefix) &lt; 3:
                  raise exceptions.ParseError("'name_prefix' must consist of at least 2 characters")
              queryset = queryset.filter(location_name__icontains = name_prefix).order_by('location_name', 'geonames_country', 'geonames_region')[:10]
          return queryset
  </code></pre>
  
  <p>I understand why I would get this error if I applied the <code>[:10]</code> before I did order_by, but since I am doing it after, why would it give me this error?</p>
  
  <p>Thanks,
  Mark</p>