def make_aware(value, timezone):
    """
    Makes a naive datetime.datetime in a given time zone aware.
    """
    if hasattr(timezone, 'localize'):
        return timezone.localize(value, is_dst=None)
    else:
        return value.replace(tzinfo=timezone)
