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

This commit is contained in:
Trenton Holmes
2022-11-19 17:37:32 -08:00
committed by Trenton H
parent ff4a8b37bd
commit 54bb1ae27d
5 changed files with 181 additions and 11 deletions

View File

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