Add the local timezone to `value` to make it aware.

def local_timezone(value):
    """Add the local timezone to `value` to make it aware."""
    if hasattr(value, "tzinfo") and value.tzinfo is None:
        return value.replace(tzinfo=dateutil.tz.tzlocal())
    return value