#NEWLINE# def create_ordered_model_items( self ) : #NEWLINE# #INDENT# pks = [ ] #NEWLINE# priorities = [ 5 , 2 , 9 , 1 ] #NEWLINE# for ( pk , priority ) in enumerate ( priorities ) : #NEWLINE# #INDENT# pk += 1 #NEWLINE# model = OrderedModel ( pk = pk , priority = priority ) #NEWLINE# model . save ( ) #NEWLINE# pks . append ( model . pk ) #NEWLINE# #UNINDENT# return ( priority , priorities )