Description
Mayan EDMS app to allow automatic renaming of documents upon upload.
License
This project is open sourced under the MIT License.
Installation
Activate the virtualenv where you installed Mayan EDMS.
Install from PyPI:
pip install mayan-document_renaming
In your settings/local.py file add document_renaming to your INSTALLED_APPS list:
INSTALLED_APPS += (
'document_renaming',
)
Run the migrations for the app:
mayan-edms.py migrate
Usage
Create a sequence.
Create a renaming template a document type using Django’s templating language and referencing a sequence’s .next_value method.
Example:
Invoice-{{ sequence_invoice.next_value|stringformat:"05d" }}
This will rename a new document as “Invoice-0000”. A subsequent document will be renamed as “Invoice-0001” and so on.
Development
Clone repository in a directory outside of Mayan EDMS:
git clone https://gitlab.com/mayan-edms/document_renaming.git
Symlink the app into your Mayan EDMS’ app folder:
ln -s <repository directory>/document_renaming/ <Mayan EDMS directory>/mayan/apps
In your settings/local.py file add document_renaming to your INSTALLED_APPS list:
INSTALLED_APPS += (
'document_renaming',
)
Run the migrations for the app:
./manage.py migrate
1.0.0 (2016-01-02)
Initial release
Metadata
Release files for mayan-document_renaming 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| mayan-document_renaming-1.0.0.tar.gz | 9.6 kB | Without provenance | Details for mayan-document_renaming-1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| mayan_document_renaming-1.0.0-py2-none-any.whl | Python 2 | none | any | Details for mayan_document_renaming-1.0.0-py2-none-any.whl |
Total release size: 28.1 kB
Release files / mayan-document_renaming-1.0.0.tar.gz
| Download URL | mayan-document_renaming-1.0.0.tar.gz |
|---|---|
| Size | 9.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e3c0a27b5da18c87db58e8758f19ca92617897fe8c6ff3d2a1b786057c158062
|
|
BLAKE2b-256 checksum How to use checksums |
8cc33e6a25ed8e48d00d12350922dc2b5bada00d732c9f11a55e0a399534ae94
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / mayan_document_renaming-1.0.0-py2-none-any.whl
| Download URL | mayan_document_renaming-1.0.0-py2-none-any.whl |
|---|---|
| Size | 18.5 kB |
| Tags | Python 2 |
|
SHA-256 checksum How to use checksums |
b890f96dfcebe100ff0ae6af07039570e13f8753076c164802cc2b6023441c1f
|
|
BLAKE2b-256 checksum How to use checksums |
a0bd7e195599e10f6060cc86efd3aaec39a3b494b2907f48ec918dc1f64a7793
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for mayan-document_renaming 1.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.