Files
mayan-edms/mayan/apps/storage/settings.py
Roberto Rosario f6febdd221 Remove the smart settings app * import
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
2019-07-10 01:40:13 -04:00

18 lines
494 B
Python

from __future__ import unicode_literals
import tempfile
from django.utils.translation import ugettext_lazy as _
from mayan.apps.smart_settings.classes import Namespace
namespace = Namespace(label=_('Storage'), name='storage')
setting_temporary_directory = namespace.add_setting(
global_name='STORAGE_TEMPORARY_DIRECTORY', default=tempfile.gettempdir(),
help_text=_(
'Temporary directory used site wide to store thumbnails, previews '
'and temporary files.'
)
)