serializers.py 263 Bytes
Newer Older
1 2 3 4
from rest_framework import serializers

from .models import InstanceTemplate

5

6 7 8
class InstanceTemplateSerializer(serializers.ModelSerializer):
    class Meta:
        model = InstanceTemplate
9
        fields = ("name", "description", "owner", "remote_ID")