mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-08-24 01:06:17 +00:00
Adds an optional API field to follow the filenaming format when creating a bulk download zip
This commit is contained in:

committed by
Trenton H

parent
ff4a8b37bd
commit
54bb1ae27d
@@ -551,6 +551,10 @@ class BulkDownloadSerializer(DocumentListSerializer):
|
||||
default="none",
|
||||
)
|
||||
|
||||
follow_formatting = serializers.BooleanField(
|
||||
default=False,
|
||||
)
|
||||
|
||||
def validate_compression(self, compression):
|
||||
import zipfile
|
||||
|
||||
|
Reference in New Issue
Block a user