<reponame>augustuswm/flagsmith-api<filename>src/integrations/new_relic/serializers.py<gh_stars>1000+
from rest_framework import serializers

from .models import NewRelicConfiguration


class NewRelicConfigurationSerializer(serializers.ModelSerializer):
    class Meta:
        model = NewRelicConfiguration
        fields = ("id", "base_url", "api_key", "app_id")

from rest_framework import serializers

from .models import NewRelicConfiguration


class NewRelicConfigurationSerializer(serializers.ModelSerializer):
    class Meta:
        model = NewRelicConfiguration
        fields = ("id", "base_url", "api_key", "app_id")