Make the local setting filename created a dynamic one.

Move the local setting file template into a separate module.

Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
This commit is contained in:
Roberto Rosario
2017-08-29 21:51:05 -04:00
parent 2b8dd842e2
commit 1d5e793c84
3 changed files with 33 additions and 9 deletions
+7
View File
@@ -22,6 +22,13 @@ settings_db_sync_task_delay = namespace.add_setting(
'propagate.'
)
)
setting_local_settings_filename = namespace.add_setting(
global_name='COMMON_LOCAL_SETTINGS_FILENAME',
default='local', help_text=_(
'Filename of the local settings file (just the filename, extension '
'will be .py).'
)
)
setting_paginate_by = namespace.add_setting(
global_name='COMMON_PAGINATE_BY',
default=40,