mirror of
				https://github.com/paperless-ngx/paperless-ngx.git
				synced 2025-10-30 03:56:23 -05:00 
			
		
		
		
	Add 'doc_pk' to PAPERLESS_FILENAME_FORMAT handling (#3861)
* Add 'doc_pk' to PAPERLESS_FILENAME_FORMAT handling * Add test for 'doc_pk' filename formatter
This commit is contained in:
		| @@ -311,6 +311,7 @@ Paperless provides the following placeholders within filenames: | ||||
| - `{added_day}`: Day added only (number 01-31). | ||||
| - `{owner_username}`: Username of document owner, if any, or "none" | ||||
| - `{original_name}`: Document original filename, minus the extension, if any, or "none" | ||||
| - `{doc_pk}`: The paperless identifier (primary key) for the document. | ||||
|  | ||||
| Paperless will try to conserve the information from your database as | ||||
| much as possible. However, some characters that you can use in document | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 mechanarchy
					mechanarchy