<filename>apps/api/material/serializers.py<gh_stars>0
from rest_framework import serializers

from apps.models import Material


class MaterialSerializer(serializers.ModelSerializer):
    class Meta:
        model = Material
        fields = '__all__'

<filename>apps/api/material/serializers.py<gh_stars>0
from rest_framework import serializers

from apps.models import Material


class MaterialSerializer(serializers.ModelSerializer):
    class Meta:
        model = Material
        fields = '__all__'
