#NEWLINE# @ property #NEWLINE# def target_field( self ) : #NEWLINE# #INDENT# '\n        When filtering against this relation, returns the field on the remote\n        model against which the filtering should happen.\n        ' #NEWLINE# target_fields = self . get_path_info ( ) [ ( - 1 ) ] . target_fields #NEWLINE# if ( len ( target_fields ) > 1 ) : #NEWLINE# #INDENT# raise exceptions . FieldError ( 'The relation has multiple target fields, but only single target field was asked for' ) #NEWLINE# #UNINDENT# return target_fields [ 0 ]