forked from uncloud/uncloud
d4b170f813
Signed-off-by: Nico Schottelius <nico@nico-notebook.schottelius.org>
9 lines
245 B
Python
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__'
|