old_contents: from .models import Errata
  
  from rest_framework import serializers
  
  
  class ErrataSerializer(serializers.ModelSerializer):
      resolution_date = serializers.DateField(read_only=True)
  
      class Meta:
          model = Errata
          fields = ('id',
                    'created',
                    'modified',
                    'book',
                    'status',
                    'resolution',
                    'reviewed_date',
                    'corrected_date',
                    'archived',
                    'is_assessment_errata',
                    'location',
                    'detail',
                    'short_detail',
                    'resolution_date',
                    'resolution_notes',
                    'error_type',
                    'error_type_other',
                    'resource',
                    'resource_other',
                    'submitted_by_account_id',
                    'file_1',
                    'file_2')
  
new_contents: from .models import Errata
  
  from rest_framework import serializers
  
  
  class ErrataSerializer(serializers.ModelSerializer):
      resolution_date = serializers.DateField(read_only=True)
  
      class Meta:
          model = Errata
          fields = ('id',
                    'created',
                    'modified',
                    'book',
                    'status',
                    'resolution',
                    'reviewed_date',
                    'corrected_date',
                    'archived',
                    'is_assessment_errata',
                    'location',
                    'additional_location_information',
                    'detail',
                    'short_detail',
                    'resolution_date',
                    'resolution_notes',
                    'error_type',
                    'error_type_other',
                    'resource',
                    'resource_other',
                    'submitted_by_account_id',
                    'file_1',
                    'file_2')
  
subject: Update serializers.py (#1006)