text: from rest_framework import serializers
  from courseApp.models import Course
  
  
  class CourseSerializer(serializers.ModelSerializer):
      class Meta:
          model = Course
          fields = ['id', 'name', 'description', 'ratings']
  