This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description

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
Release History

Release History

1.0.0

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
mayan_document_renaming-1.0.0-py2-none-any.whl (18.5 kB) Copy SHA256 Checksum SHA256 2.7 Wheel Jan 2, 2016
mayan-document_renaming-1.0.0.tar.gz (9.6 kB) Copy SHA256 Checksum SHA256 Source Jan 2, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting