#NEWLINE# def test_filter_date_field_with_aware_datetime( self ) : #NEWLINE# #INDENT# day = datetime . date ( 2011 , 9 , 1 ) #NEWLINE# event = AllDayEvent . objects . create ( day = day ) #NEWLINE# dt = datetime . datetime ( 2011 , 9 , 1 , 22 , 30 , 0 , tzinfo = UTC ) #NEWLINE# self . assertTrue ( AllDayEvent . objects . filter ( day__gte = dt ) . exists ( ) )