new_contents: from rest_framework import serializers
  
  from contact.models import Description, Message
  
  
  class DescriptionSerializer(serializers.ModelSerializer):
      class Meta:
          model = Description
          fields = ('title', 'source', 'content', 'author')
          read_only_fields = ('author', 'content')
  
  
  class MessageSerializer(serializers.ModelSerializer):
      class Meta:
          model = Message
          fields = ('name', 'user', 'mail', 'website',
                    'subject', 'message', 'forward',
                    'date', 'ip'
          )
          read_only_fields = ('user', 'date', 'ip')
      
  
subject: add serializers for Message and Description.