forked from uncloud/uncloud
10 lines
245 B
Python
10 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__'
|