[Bugfix] 修复无法批量禁用启用的bug

pull/1683/head
ibuler 6 years ago
parent 05ecd7497a
commit 2354f0c970

@ -20,7 +20,7 @@ class AssetSerializer(BulkSerializerMixin, serializers.ModelSerializer):
model = Asset
list_serializer_class = BulkListSerializer
fields = '__all__'
# validators = [] # If not set to [], partial bulk update will be error
validators = [] # If not set to [], partial bulk update will be error
def get_field_names(self, declared_fields, info):
fields = super().get_field_names(declared_fields, info)

Loading…
Cancel
Save