Docs
This commit is contained in:
parent
d5f4e4a3b8
commit
d2247c6a8f
@ -320,6 +320,7 @@ Paperless provides the following placeholders within filenames:
|
|||||||
- `{owner_username}`: Username of document owner, if any, or "none"
|
- `{owner_username}`: Username of document owner, if any, or "none"
|
||||||
- `{original_name}`: Document original filename, minus the extension, 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.
|
- `{doc_pk}`: The paperless identifier (primary key) for the document.
|
||||||
|
- `{customfield<id_of_custom_field>}`: Content of custom field. Replace <id_of_custom_field> with the id of the custom_field. If custom field is not assigned to document, "-none-" will be set.
|
||||||
|
|
||||||
Paperless will try to conserve the information from your database as
|
Paperless will try to conserve the information from your database as
|
||||||
much as possible. However, some characters that you can use in document
|
much as possible. However, some characters that you can use in document
|
||||||
|
@ -187,7 +187,7 @@ class TestApiStoragePaths(DirectoriesMixin, APITestCase):
|
|||||||
"/{created_month_name_short}/{created_day}/{added}/{added_year}"
|
"/{created_month_name_short}/{created_day}/{added}/{added_year}"
|
||||||
"/{added_year_short}/{added_month}/{added_month_name}"
|
"/{added_year_short}/{added_month}/{added_month_name}"
|
||||||
"/{added_month_name_short}/{added_day}/{asn}/{tags}"
|
"/{added_month_name_short}/{added_day}/{asn}/{tags}"
|
||||||
"/{tag_list}/{owner_username}/{original_name}/{doc_pk}/",
|
"/{tag_list}/{owner_username}/{original_name}/{doc_pk}/{customfield<id_of_custom_field>}/",
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
content_type="application/json",
|
content_type="application/json",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user