From d1a4cb875b058b5284281020dcab6842d18815c0 Mon Sep 17 00:00:00 2001 From: Roberto Rosario Date: Thu, 6 Dec 2018 02:37:25 -0400 Subject: [PATCH] Document signatures: Rename settings Rename the setting "SIGNATURES_STORAGE_BACKEND" to "DOCUMENT_SIGNATURES_STORAGE_BACKEND" and the setting "SIGNATURES_STORAGE_BACKEND_ARGUMENTS" to "DOCUMENT_SIGNATURES_STORAGE_BACKEND_ARGUMENTS". This is to differentiate these from the settings of the django_gpg app. Signed-off-by: Roberto Rosario --- HISTORY.rst | 7 ++++++- mayan/apps/document_signatures/settings.py | 4 ++-- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/HISTORY.rst b/HISTORY.rst index f329200ee1..5443785348 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -145,7 +145,12 @@ - Removed the settings SIGNATURES_GPG_PATH. The path to the GPG binary is now passed via the SIGNATURES_GPG_BACKEND_ARGUMENTS. - +- Renamed the setting ``SIGNATURES_STORAGE_BACKEND`` to + ``DOCUMENT_SIGNATURES_STORAGE_BACKEND`` and the setting + ``SIGNATURES_STORAGE_BACKEND_ARGUMENTS`` to + ``DOCUMENT_SIGNATURES_STORAGE_BACKEND_ARGUMENTS``. This + change differentiates them from the setting from the + django_gpg app. 3.1.9 (2018-11-01) ================== diff --git a/mayan/apps/document_signatures/settings.py b/mayan/apps/document_signatures/settings.py index bc6d6c6a36..4632d0b1c4 100644 --- a/mayan/apps/document_signatures/settings.py +++ b/mayan/apps/document_signatures/settings.py @@ -10,13 +10,13 @@ from mayan.apps.smart_settings import Namespace namespace = Namespace(name='signatures', label=_('Document signatures')) setting_storage_backend = namespace.add_setting( default='django.core.files.storage.FileSystemStorage', - global_name='SIGNATURES_STORAGE_BACKEND', help_text=_( + global_name='DOCUMENT_SIGNATURES_STORAGE_BACKEND', help_text=_( 'Path to the Storage subclass to use when storing detached ' 'signatures.' ) ) setting_storage_backend_arguments = namespace.add_setting( - global_name='SIGNATURES_STORAGE_BACKEND_ARGUMENTS', + global_name='DOCUMENT_SIGNATURES_STORAGE_BACKEND_ARGUMENTS', default={ 'location': os.path.join(settings.MEDIA_ROOT, 'document_signatures') }, help_text=_(