Renamed setting LOCK_MANAGER_DEFAULT_BACKEND to LOCK_MANAGER_BACKEND. Add help text to settings.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
This commit is contained in:
@@ -9,12 +9,17 @@ from smart_settings import Namespace
|
||||
|
||||
namespace = Namespace(name='signatures', label=_('Document signatures'))
|
||||
setting_storage_backend = namespace.add_setting(
|
||||
global_name='SIGNATURES_STORAGE_BACKEND',
|
||||
default='django.core.files.storage.FileSystemStorage'
|
||||
default='django.core.files.storage.FileSystemStorage',
|
||||
global_name='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',
|
||||
default='{{location: {}}}'.format(
|
||||
os.path.join(settings.MEDIA_ROOT, 'document_signatures')
|
||||
), quoted=True
|
||||
), quoted=True, help_text=_(
|
||||
'Arguments to pass to the SIGNATURE_STORAGE_BACKEND. '
|
||||
)
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user