from rest_framework import serializers from .models import Project class ProjectSerializer(serializers.ModelSerializer): class Meta: model = Project fields = ('name', 'code', 'iacuc_number', 'description', 'sort_order')