uncloud-mravi/nextcloud/serializers.py

8 lines
187 B
Python
Raw Normal View History

2021-09-10 07:58:42 +00:00
from rest_framework import serializers
from .models import *
class VMMachineSerializer(serializers.ModelSerializer):
class Meta:
model = VMMachine
fields = '__all__'