uncloud-mravi/uncloud/uncloud_vm/serializers.py
Nico Schottelius d4b170f813 phase in vmhost
Signed-off-by: Nico Schottelius <nico@nico-notebook.schottelius.org>
2020-02-25 20:53:12 +01:00

9 lines
245 B
Python

from django.contrib.auth import get_user_model
from rest_framework import serializers
from .models import VMHost
class VMHostSerializer(serializers.HyperlinkedModelSerializer):
class Meta:
model = VMHost
fields = '__all__'