<filename>backend/confnetti/ansibleTasks/serializers.py<gh_stars>0
from rest_framework import serializers
from .models import AnsibleTask


class AnsibleTaskSerializer(serializers.ModelSerializer):
    class Meta:
        model = AnsibleTask
        fields = ["id", "file"]

<filename>backend/confnetti/ansibleTasks/serializers.py<gh_stars>0
from rest_framework import serializers
from .models import AnsibleTask


class AnsibleTaskSerializer(serializers.ModelSerializer):
    class Meta:
        model = AnsibleTask
        fields = ["id", "file"]
