Adds an optional API field to follow the filenaming format when creating a bulk download zip

This commit is contained in:
Trenton Holmes authored and Trenton H committed 2022-12-08 18:32:14 -08:00
1 parent ff4a8b37bd
commit 54bb1ae27d
5 files changed
+181 -11

No files matched your search

+4
View File
@@ -551,6 +551,10 @@ class BulkDownloadSerializer(DocumentListSerializer):
default="none",
)
follow_formatting = serializers.BooleanField(
default=False,
)
def validate_compression(self, compression):
import zipfile