mirror of
https://github.com/retspen/webvirtcloud
synced 2024-12-27 08:35:22 +00:00
8 lines
231 B
Python
8 lines
231 B
Python
from networks.models import Networks
|
|
from rest_framework import serializers
|
|
|
|
|
|
class NetworksSerializer(serializers.ModelSerializer):
|
|
class Meta:
|
|
model = Networks
|
|
fields = ["name", "status", "device", "forward"]
|