#NEWLINE# def test_reverse_foreign_key_retrieve_prefetch_related( self ) : #NEWLINE# #INDENT# queryset = ForeignKeyTarget . objects . all ( ) . prefetch_related ( 'sources' ) #NEWLINE# serializer = ForeignKeyTargetSerializer ( queryset , many = True ) #NEWLINE# with self . assertNumQueries ( 2 ) : #NEWLINE# #INDENT# queryset . data