This is how the original filenames were generated. Keep it this way for compatibility.

This commit is contained in:
Jonas Winkler 2020-11-12 10:42:18 +01:00
parent 09651e0011
commit adc217e6fd

View File

@ -72,7 +72,7 @@ def generate_filename(document):
path = settings.PAPERLESS_FILENAME_FORMAT.format( path = settings.PAPERLESS_FILENAME_FORMAT.format(
correspondent=slugify(document.correspondent), correspondent=slugify(document.correspondent),
title=slugify(document.title), title=slugify(document.title),
created=document.created.date(), created=slugify(document.created),
added=slugify(document.added), added=slugify(document.added),
tags=tags, tags=tags,
) )