mirror of
https://github.com/retspen/webvirtcloud
synced 2025-07-31 12:41:08 +00:00
apply recommendation of code-review-doctor
This commit is contained in:
parent
6d3550bb24
commit
2910a3229a
3 changed files with 19 additions and 26 deletions
|
|
@ -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']
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue