text: from rest_framework import serializers
  from . import models
  
  
  class ResourceSerializer(serializers.ModelSerializer):
      """Serialize Resources model"""
  
      class Meta:
          model = models.Resource
          fields = ("id", "name", "url", "topic")
          read_only_fields = ("id",)
  