#NEWLINE# def test_related_null_to_field( self ) : #NEWLINE# #INDENT# c1 = Car . objects . create ( ) #NEWLINE# d1 = Driver . objects . create ( ) #NEWLINE# self . assertIs ( d1 . car , None ) #NEWLINE# with self . assertNumQueries ( 0 ) : #NEWLINE# #INDENT# self . assertEqual ( list ( c1 . drivers . all ( ) ) , [ ] )