mirror of
https://github.com/retspen/webvirtcloud.git
synced 2026-05-26 07:08:05 +00:00
apply recommendation of code-review-doctor
This commit is contained in:
@@ -10,10 +10,3 @@ class NetworksSerializer(serializers.ModelSerializer):
|
||||
fields = ['name', 'status', 'device', 'forward']
|
||||
|
||||
|
||||
|
||||
# class VolumeSerializer(serializers.ModelSerializer):
|
||||
# allocation = serializers.ReadOnlyField()
|
||||
# meta_prealloc = serializers.BooleanField(write_only=True)
|
||||
# class Meta:
|
||||
# model = Volume
|
||||
# fields = ['name', 'type', 'allocation', 'size', 'meta_prealloc']
|
||||
|
||||
Reference in New Issue
Block a user