Remove the INSTALLED_APPS setting
The INSTALLED APPS setting is now replaced by the new COMMON_EXTRA_APPS and COMMON_DISABLED_APPS. Exposing the INSTALLED_APPS setting had the side effect of blocking new apps that were added in new versions. Signed-off-by: Roberto Rosario <roberto.rosario@mayan-edms.com>
This commit is contained in:
@@ -26,6 +26,26 @@ settings_db_sync_task_delay = namespace.add_setting(
|
||||
'propagate.'
|
||||
)
|
||||
)
|
||||
setting_disabled_apps = namespace.add_setting(
|
||||
global_name='COMMON_DISABLED_APPS',
|
||||
default=settings.COMMON_DISABLED_APPS,
|
||||
help_text=_(
|
||||
'A list of strings designating all applications that are to be removed '
|
||||
'from the list normally installed by Mayan EDMS. Each string should be '
|
||||
'a dotted Python path to: an application configuration class (preferred), '
|
||||
'or a package containing an application.'
|
||||
),
|
||||
)
|
||||
setting_extra_apps = namespace.add_setting(
|
||||
global_name='COMMON_EXTRA_APPS',
|
||||
default=settings.COMMON_EXTRA_APPS,
|
||||
help_text=_(
|
||||
'A list of strings designating all applications that are installed '
|
||||
'beyond those normally installed by Mayan EDMS. Each string should be '
|
||||
'a dotted Python path to: an application configuration class (preferred), '
|
||||
'or a package containing an application.'
|
||||
),
|
||||
)
|
||||
setting_home_view = namespace.add_setting(
|
||||
global_name='COMMON_HOME_VIEW',
|
||||
default=DEFAULT_COMMON_HOME_VIEW, help_text=_(
|
||||
@@ -254,16 +274,6 @@ setting_django_file_upload_max_memory_size = namespace.add_setting(
|
||||
'DATA_UPLOAD_MAX_MEMORY_SIZE.'
|
||||
),
|
||||
)
|
||||
setting_django_installed_apps = namespace.add_setting(
|
||||
global_name='INSTALLED_APPS',
|
||||
default=settings.INSTALLED_APPS,
|
||||
help_text=_(
|
||||
'A list of strings designating all applications that are enabled '
|
||||
'in this Django installation. Each string should be a dotted '
|
||||
'Python path to: an application configuration class (preferred), '
|
||||
'or a package containing an application.'
|
||||
),
|
||||
)
|
||||
setting_django_login_url = namespace.add_setting(
|
||||
global_name='LOGIN_URL',
|
||||
default=settings.LOGIN_URL,
|
||||
|
||||
Reference in New Issue
Block a user