def deprecated_settings(app_configs, **kwargs):
issues = []
if ('payment_statement' in settings.HOST):
issues.append(
Warning(
"The setting HOST['payment_statement'] is no longer rendered.",
hint="Create a FrontpageMessage through the admin interface instead.",
obj='settings.HOST',
id='openbare.W001'
)
)
if ('use_statement' in settings.HOST):
issues.append(
Warning(
"The setting HOST['use_statement'] is no longer rendered.",
hint="Create a FrontpageMessage through the admin interface instead.",
obj='settings.HOST',
id='openbare.W002'
)
)
return issues
评论列表
文章目录