code: def reorder_view(self, request):
          
          model = self.model
  
          if not self.has_change_permission(request):
              raise PermissionDenied
  
          if request.method == "POST":
              object_pks = request.POST.getlist('neworder[]')
              model.objects.set_orders(object_pks)
  
          return HttpResponse("OK")
docs: The 'reorder' admin view for this model.