title: How to save a model-instance using serializers in django?
body: <p>I would like to save a class instance in my database using serializers, provided by DRF.
  <strong>Serializer</strong>:</p>
  
  <pre><code>class PersonSerializer(serializers.ModelSerializer):
  
      class Meta:
          model = Person
          fields = '__all__'
  </code></pre>
  
  <p>here I try to save an instance:</p>
  
  <pre><code>p = Person(Name = "Test")
  _srlz = PersonSerializer(data = p)
  </code></pre>
  
  <p>The real case is little bit more complicated, but sanse the same.
  Unfortunately the data - _srlz.data is empty. So if I try to save data via _srlz.save() method then nothing change.
  Otherwise if I request an existed object</p>
  
  <pre><code>p = Person.objects.filter(id = 1)
  _srlz = PersonSerializer(data = p)
  </code></pre>
  
  <p>Then my _srlz.data will <strong>not</strong> be empty.</p>
  
  <p>How should I save this object if datasource is not JSON-object, but model-class instance?Should I first serialize it and then deserialize again?</p>
  
  <p>I already tried to save instance calling a .save() method, provided by model's default Manager, but I would like to separate my model and service methods so all database operations performed by serializers.
  Or is it OK in this case, because I deal not with pure JSON, but with model instance? But how can I then validate data?</p>