<s> def initialize_settings ( apps , schema_editor ) : <EOL> SettingsCategory = apps . get_model ( '<STR_LIT>' , '<STR_LIT>' ) <EOL> Setting = apps . get_model ( '<STR_LIT>' , '<STR_LIT>' ) <EOL> category = SettingsCategory ( name = '<STR_LIT>' ) <EOL> category . save ( ) <EOL> for setting in [ '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' ] : <EOL> s = Setting ( name = setting , category = category ) <EOL> s . save ( ) <EOL> category = SettingsCategory ( name = '<STR_LIT>' ) <EOL> category . save ( ) <EOL> for setting in [ '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' ] : <EOL> s = Setting ( name = setting , category = category ) <EOL> s . save ( ) <EOL> category = SettingsCategory ( name = '<STR_LIT>' ) <EOL> category . save ( ) <EOL> for setting in [ '<STR_LIT>' , '<STR_LIT>' ] : <EOL> s = Setting ( name = setting , category = category ) <EOL> s . save ( ) <EOL> def clear_settings ( apps , schema_edititor ) : <EOL> SettingsCategory = apps . get_model ( '<STR_LIT>' , '<STR_LIT>' ) <EOL> Setting = apps . get_model ( '<STR_LIT>' , '<STR_LIT>' ) <EOL> SettingsCategory . objects . all ( ) . delete ( ) <EOL> Setting . objects . all ( ) . delete ( ) </s>
