title: Django restframework serializer response custom message
body: <p>I'm trying to override the response message(return data) of the serializer. Below is my sample code.</p>
  
  <p><strong><em>models.py</em></strong></p>
  
  <pre><code>from django.db import models
  
  class MyModel(models.Model):
      name = models.charField()
      email = models.EmailField()
      phone = models.charField()
  </code></pre>
  
  <p><strong><em>serializer.py</em></strong></p>
  
  <pre><code>from rest_framework import serializers
  
  class MyModelSerializer(serializers.ModelSerializer):
      class Meta:
          model = MyModel
          fields = ('id', 'name', 'email', 'phone')
  
      def validate(self, data):
          '''
              Some validation here
          '''
          return data
  </code></pre>
  
  <p><strong><em>views.py</em></strong></p>
  
  <pre><code>from rest_framework import generics
  
  class MyModelList(generics.ListCreateAPIView):
      queryset = MyModel.objects.all().order_by('-id')
      serializer_class = MyModelSerializer
  </code></pre>
  
  <p>Here, when I try to post the data, the serializer return the response in the json format like this</p>
  
  <pre><code>{
      'id': 2,
      'name': 'myname',
      'email': 'mayname@example.com',
      'phone': 8569874587,
  }
  </code></pre>
  
  <p>But I want to return the custom json response like this if the post is success.</p>
  
  <pre><code>{
      'success' : 'data posted successfully',
  }
  </code></pre>
  
  <p>Guys how can I override this for the custom message, please help me for this, it will be very great-full, Thanks in advance.</p>