Smart settings: Remove the 'is_path' argument

Signed-off-by: Roberto Rosario <Roberto.Rosario@mayan-edms.com>
This commit is contained in:
Roberto Rosario
2019-01-25 01:40:29 -04:00
parent 4937d8b776
commit 33e0e694e3
3 changed files with 4 additions and 7 deletions
+2 -4
View File
@@ -53,8 +53,7 @@ setting_production_error_log_path = namespace.add_setting(
global_name='COMMON_PRODUCTION_ERROR_LOG_PATH',
default=os.path.join(settings.MEDIA_ROOT, 'error.log'), help_text=_(
'Path to the logfile that will track errors during production.'
),
is_path=True
)
)
setting_project_title = namespace.add_setting(
global_name='COMMON_PROJECT_TITLE',
@@ -82,8 +81,7 @@ setting_temporary_directory = namespace.add_setting(
help_text=_(
'Temporary directory used site wide to store thumbnails, previews '
'and temporary files.'
),
is_path=True
)
)
namespace = Namespace(label=_('Django'), name='django')