#NEWLINE# def convert_color_names_to_rgb( apps , schema_editor ) : #NEWLINE# #INDENT# Tag = apps . get_model ( 'tags' , 'Tag' ) #NEWLINE# for tag in Tag . objects . all ( ) : #NEWLINE# #INDENT# tag . selection = RGB_VALUES [ tag . color ] #NEWLINE# tag . save ( )