#NEWLINE# def __iter__( self ) : #NEWLINE# #INDENT# for ( i , field ) in enumerate ( self . fields ) : #NEWLINE# #INDENT# if ( field in self . readonly_fields ) : #NEWLINE# #INDENT# ( yield AdminReadonlyField ( self . form , field , is_first = ( i == 0 ) , model_admin = self . model_admin ) ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# ( yield AdminField ( self . form , field , is_first = ( i == 0 ) ) )