#NEWLINE# def init_default_application_types( apps , schema_editor ) : #NEWLINE# #INDENT# ApplicationType = apps . get_model ( 'cost_tracking' , 'ApplicationType' ) #NEWLINE# for ( slug , name ) in ApplicationTypes . CHOICES : #NEWLINE# #INDENT# ApplicationType . objects . update_or_create ( slug = slug , defaults = { #NEWLINE# #INDENT# 'name' : ApplicationType , #NEWLINE# #UNINDENT# } )