title: Django Rest Framework Batch Create
body: <p>I'm trying to make an api where you can create multiple objects with a single Post request using django rest framework. However, my serializer is providing an error which I don't understand. First off here's the a skeleton of my code</p>
  
  <p>My Serializer:</p>
  
  <pre><code>class MyModelSerializer(serializers.ModelSerializer):
  # override the constructor to always use the many flag
  def __init__(self, *args, **kwargs):
      many = kwargs.pop('many', True)
      super(MyModelSerializer, self).__init__(many=many, *args, **kwargs)
  
  class Meta:
      model = MyModel
      fields = ('field1', 'field2')
  </code></pre>
  
  <p>My List View</p>
  
  <pre><code>class MyModelListView(generics.ListCreateAPIView):
      queryset = MyModel.objects.all()
      serializer_class = MyModelSerializer
  
      def post(self, request, *args, **kwargs):
          if request.DATA['batch']:
              json = request.DATA['batchData']
              stream = StringIO(json)
              data = JSONParser().parse(stream)
              request._data = data
          return super(CharacterDatumList, self).post(request, *args, **kwargs)
  </code></pre>
  
  <p>My ajax call</p>
  
  <pre><code>$.ajax({
      type: "POST",
      url: '/characterDatum/',
      data: {
          'batch' : true,
          'batchData' : '[{"field1": "x", "field2": "y", },{"field1": "a", "field2": "b"}]'
      },
      success: function(response) {
          console.log('success');
      },
      datatype: 'json'
  });
  </code></pre>
  
  <p>However, in the django rest framework I get a serialization validation error at the line below</p>
  
  <pre><code>class CreateModelMixin(object):
      """
      Create a model instance.
      """
      def create(self, request, *args, **kwargs):
          serializer = self.get_serializer(data=request.DATA, files=request.FILES)
          if serializer.is_valid(): # returns not valid
  </code></pre>
  
  <p>Does anyone know why this might be the case?</p>