if settings.USE_TZ is true and value is not None and call to the function timezone.is_aware with an argument value, evaluates to true,
if settings . USE_TZ and value is not None and timezone . is_aware ( value ) :