<s> from django . conf import settings <EOL> from django . core import checks <EOL> E001 = checks . Error ( <EOL> "<STR_LIT>" , <EOL> hint = "<STR_LIT>" , <EOL> id = '<STR_LIT>' , <EOL> ) <EOL> E002 = checks . Error ( <EOL> "<STR_LIT>" , <EOL> hint = "<STR_LIT>" <EOL> "<STR_LIT>" , <EOL> id = '<STR_LIT>' , <EOL> ) <EOL> def check_default_host ( app_configs , ** kwargs ) : <EOL> return [ ] if getattr ( settings , '<STR_LIT>' , False ) else [ E001 ] <EOL> def check_root_hostconf ( app_configs , ** kwargs ) : <EOL> return [ ] if getattr ( settings , '<STR_LIT>' , False ) else [ E002 ] </s>
