mirror of
				https://github.com/paperless-ngx/paperless-ngx.git
				synced 2025-11-03 19:17:13 -05:00 
			
		
		
		
	This is how the original filenames were generated. Keep it this way for compatibility.
This commit is contained in:
		
							parent
							
								
									09651e0011
								
							
						
					
					
						commit
						adc217e6fd
					
				@ -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,
 | 
				
			||||||
        )
 | 
					        )
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user