title: Save data array using serializers in rest framwork in django
body: <p>Save data array using serializers in rest framwork in django.</p>
  
  <p>I created an array of data to save to the database. Fields are populated and are compatible with serialization. But the error below occurs.</p>
  
  <p>Thanks for listening</p>
  
  <pre><code>data = [{'nome': 'NILVA HELENA DA SILVA', 
          'cnpj_emitente': '11306471000149'},
  
          {'nome': 'NILVA HELENA DA SILVA', 
          'cnpj_emitente': '11306471000149'}]
  
  xml_create = XMLCreateSerializer(data=data)
  
  
  result 
  Non_field_errors ["Invalid data. Needed a dictionary but received list."]
  </code></pre>
  
  <p>How can I save an array of data using serialization?</p>