#NEWLINE# def _make_date_lookup_arg( self , value ) : #NEWLINE# #INDENT# '\n        Convert a date into a datetime when the date field is a DateTimeField.\n\n        When time zone support is enabled, `date` is assumed to be in the\n        current time zone, so that displayed items are consistent with the URL.\n        ' #NEWLINE# if self . uses_datetime_field : #NEWLINE# #INDENT# value = datetime . datetime . combine ( value , datetime . time . min ) #NEWLINE# if settings . USE_TZ : #NEWLINE# #INDENT# value = timezone . make_aware ( self , timezone . get_current_timezone ( ) ) #NEWLINE# #UNINDENT# #UNINDENT# return value